Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
include
DefectiveCrystal
DefectiveCrystalParameters.h
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_DefectiveCrystalParameters_H_
9
#define model_DefectiveCrystalParameters_H_
10
11
#include <string>
12
#include <set>
13
14
#include <Eigen/Dense>
15
16
#include <
TextFileParser.h
>
17
#include <
IDreader.h
>
18
#include <
DefectiveCrystal/DefectiveCrystalTraitsIO.h
>
19
20
namespace
model
21
{
22
23
struct
DefectiveCrystalParameters
24
{
25
26
const
DefectiveCrystalTraitsIO
traitsIO
;
27
const
int
useFEM
;
28
const
std::string
physics
;
29
// const bool useElasticDeformation;
30
// const bool useDislocations;
31
// const bool useClusterDynamics;
32
// const bool useCracks;
33
// const bool useInclusions;
34
const
long
int
Nsteps
;
35
const
int
maxResolveSteps
;
36
// const int useSubCycling;
37
// const std::set<int> subcyclingBins;
38
// const bool use_stochasticForce;
39
const
std::set<int>
periodicFaceIDs
;
40
const
double
dtMax
;
41
const
int
outputFrequency
;
42
const
bool
outputBinary
;
43
long
int
runID
;
44
double
totalTime
;
45
double
dt
;
46
47
void
manageRestart
();
48
49
// private:
50
51
// static std::set<int> getSubCyclingSet(const std::vector<int> &inpVector);
52
53
public
:
54
55
DefectiveCrystalParameters
(
const
std::string& folderName) ;
56
57
};
58
}
59
#endif
DefectiveCrystalTraitsIO.h
IDreader.h
TextFileParser.h
model
Definition
DD_converter.dox:2
model::DefectiveCrystalParameters::totalTime
double totalTime
Definition
DefectiveCrystalParameters.h:44
model::DefectiveCrystalParameters::manageRestart
void manageRestart()
Definition
src/DefectiveCrystal/DefectiveCrystalParameters.cpp:17
model::DefectiveCrystalParameters::dtMax
const double dtMax
Definition
DefectiveCrystalParameters.h:40
model::DefectiveCrystalParameters::outputBinary
const bool outputBinary
Definition
DefectiveCrystalParameters.h:42
model::DefectiveCrystalParameters::DefectiveCrystalParameters
DefectiveCrystalParameters(const std::string &folderName)
Definition
src/DefectiveCrystal/DefectiveCrystalParameters.cpp:79
model::DefectiveCrystalParameters::useFEM
const int useFEM
Definition
DefectiveCrystalParameters.h:27
model::DefectiveCrystalParameters::Nsteps
const long int Nsteps
Definition
DefectiveCrystalParameters.h:34
model::DefectiveCrystalParameters::traitsIO
const DefectiveCrystalTraitsIO traitsIO
Definition
DefectiveCrystalParameters.h:26
model::DefectiveCrystalParameters::outputFrequency
const int outputFrequency
Definition
DefectiveCrystalParameters.h:41
model::DefectiveCrystalParameters::periodicFaceIDs
const std::set< int > periodicFaceIDs
Definition
DefectiveCrystalParameters.h:39
model::DefectiveCrystalParameters::runID
long int runID
Definition
DefectiveCrystalParameters.h:43
model::DefectiveCrystalParameters::dt
double dt
Definition
DefectiveCrystalParameters.h:45
model::DefectiveCrystalParameters::maxResolveSteps
const int maxResolveSteps
Definition
DefectiveCrystalParameters.h:35
model::DefectiveCrystalParameters::physics
const std::string physics
Definition
DefectiveCrystalParameters.h:28
model::DefectiveCrystalTraitsIO
Definition
DefectiveCrystalTraitsIO.h:18
Generated by
1.15.0