Defined singleton class UniqueID
This class will have only one instance. It will keep a track of the
UniqueID number of all defects in the simulation. It will contain
vectors with defect type and certain details of each defect.
Defined function UniqueID::writeDefects
This function writes the defects along with their unique id and
parameters to a file.
Corrected conflicting descriptions for the function UniqueID::newIndex.
The descriptions for the function UniqueID::newIndex were slightly
different in the h and cpp files. They are now the same.
Adding newId function call to Defect constructor
Corrected error in UniqueID::newIndex
The newIndex function was adding to the parameters vector assuming that
the data was provided as a vector. But that data is now a pointer.
Merge branch 'uniqueID' into implementUniqueID
Added assignment functions to class UniqueID
Corrected error in DefectType
Merge branch 'uniqueID' into implementUniqueID
Defined new function Defect::setUniqueID
This function creates a new row within the UniqueID singleton instance
and puts in the defect's defect type. Each class that inherits from
Defect will implement its own set of parameters using its uniqueId to
access the position. This should normally appear within the class
constructors in order to avoid mixing up the order of allocation of
parameters.
Defined a virtual function for setting parameters
Defined the virtual function Dislocation::setParametersUniquesList
Defined virtual function setParametersUniquesList in class
DislocationSource
Added function call to write to the uniques list.
Merge branch 'develop' into uniqueID
Merge branch 'uniqueID' into implementUniqueID
Removed code trying to delete slipPlane and slipSystem twice.
Updated UniqueID::newIndex to return correct value of the index.
Added call to parametersUniqueList in constructors.
Removed default from Defect::setParametersUniquesList