Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
PeriodicDipoleIndividualSpecification.cpp
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_PeriodicDipoleIndividualSpecification_cpp_
9#define model_PeriodicDipoleIndividualSpecification_cpp_
10
12
13namespace model
14{
20
22 /* init */ MicrostructureSpecificationBase("PeriodicDipole","Individual",fileName)
23 /* init */,slipSystemIDs(this->parser->readArray<int>("slipSystemIDs",true))
24 /* init */,exitFaceIDs(this->parser->readArray<int>("exitFaceIDs",true))
25 /* init */,dipoleCenters(this->parser->readMatrix<double>("dipoleCenters",slipSystemIDs.size(),3,true))
26 /* init */,dipoleHeights(this->parser->readArray<double>("dipoleHeights",true))
27 /* init */,nodesPerLine(this->parser->readArray<int>("nodesPerLine",true))
28 /* init */,glideSteps(this->parser->readArray<double>("glideSteps",true))
29 {
30
31 }
32}
33#endif
const std::unique_ptr< TextFileParser > parser
MicrostructureSpecificationBase(const std::string &type_in, const std::string &style_in)