Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
EllipsoidalInclusionDensitySpecification.h
Go to the documentation of this file.
1/* This file is part of MoDELib, distributed under GNU GPL v2. */
2#ifndef model_EllipsoidalInclusionDensitySpecification_H_
3#define model_EllipsoidalInclusionDensitySpecification_H_
5#include <Eigen/Dense>
6
7namespace model
8{
10 {
11 static constexpr int dim = 3;
12 double targetDensity = 0.0; // Number per cubic meter.
13 Eigen::Matrix3d crystalAxes = Eigen::Matrix3d::Identity();
14 // Columns of crystalAxes are orthogonal unit directions (dimensionless).
15 // Arithmetic means and standard deviations of independent semiaxis lengths [m].
16 Eigen::Matrix<double, 1, 3> axesLognormalDistributionMean_SI = Eigen::Matrix<double, 1, 3>::Zero();
17 Eigen::Matrix<double, 1, 3> axesLognormalDistributionStd_SI = Eigen::Matrix<double, 1, 3>::Zero();
18 Eigen::Matrix<double, 1, 9> crystalEigenDistortion = Eigen::Matrix<double, 1, 9>::Zero();
19 Eigen::Matrix<double, 1, 3> patternVector_SI = Eigen::Matrix<double, 1, 3>::Zero();
20 bool allowOverlap = false;
21 bool allowOutside = false;
23 int phaseID = 0;
24 size_t maxAttempts = 10000; // Consecutive rejected placements before throwing.
25
27 EllipsoidalInclusionDensitySpecification(const std::string &fileName);
28 };
29} // namespace model
30#endif
MicrostructureSpecificationBase(const std::string &type_in, const std::string &style_in)