Removed redundant statistics writing step
In simulateSingleSlipPlane.cpp, the function singleSlipPlane_iterate
called a redundant statistics writing function. This call hes been
removed.
Set base pointer for defect co-ordinate systems
The defects read into the simulation need to have their base co-ordinate
systems set. This is done in the function readSlipPlane.
Defined assignment function in Defect for setting base co-ordinate
system
The co-ordinate system is a private attribute of Defect and cannot be
accessed directly by other non-member functions. Therefore an assignment
function has been defined to assign the pointer to the base co-ordinate
system.
Defining extremities co-ordinate system
The extremities are point defects and take the same axes as the parent
slip plane. This modification sets the pointer to the parent system.
The base co-ordinate system pointer is rectified in the constructor call
in SlipPlane::setExtremities
In the function SlipPlane::setExtremities, the constructor for the class
Defect was called with the wrong base pointer. This has now been fixed.
The base pointers are now set correctly
There was a problem with NULL base pointers. This was because the
dislcoation vector was not cleared prior to assignment of new
dislocations. This error is now fixed.
Corrected indentation
Old code indentation from emacs changed to Qt indentation.
Function SlipPlane::calculateVelocities projection of velocity uses
SlipPlane::getExtremity
In order to project the velocity on to the slip plane line, the line is
calculated using the extremities, hence the call to getExtremity.
Function SlipPlane::calculateVelocities() Moved extraction of slip plane
extremities outside the loop
The slip plane extremities remain unchanged during velocity
calculations. Therefore they only need to be calculated once during this
function.