55 static constexpr unsigned max_iteration = 20u;
56 static const double root_three_two;
57 static constexpr double scale = .999;
58 static const mat unit_dev_tensor;
62 const double three_alpha_p_bulk = 3. *
alpha_p * bulk;
63 const double pfplambda = -3. *
alpha * three_alpha_p_bulk - root_three_two * double_shear;
64 const double one_minus_alpha = 1. -
alpha;
68 static double compute_r(
const vec&);
69 static vec compute_dr(
const vec&);
71 [[nodiscard]]
inline double compute_s(
double)
const;
86 [[nodiscard]]
virtual podarray<double> compute_tension_backbone(
double)
const = 0;
101 [[nodiscard]]
virtual podarray<double> compute_compression_backbone(
double)
const = 0;
116 int initialize(
const shared_ptr<DomainBase>&)
override;
128 void print()
override;
OutputType
Definition: OutputType.h:23
ParameterType
Definition: ParameterType.h:21
The Material3D class.
Definition: Material3D.h:37
The NonlinearCDP class.
Definition: NonlinearCDP.h:54
int initialize(const shared_ptr< DomainBase > &) override
Definition: NonlinearCDP.cpp:46
int commit_status() override
Definition: NonlinearCDP.cpp:227
int clear_status() override
Definition: NonlinearCDP.cpp:219
void print() override
Definition: NonlinearCDP.cpp:250
int reset_status() override
Definition: NonlinearCDP.cpp:235
vector< vec > record(OutputType) override
Definition: NonlinearCDP.cpp:243
NonlinearCDP(unsigned, double, double, double, double, double, double, double, double)
Definition: NonlinearCDP.cpp:42
int update_trial_status(const vec &) override
Definition: NonlinearCDP.cpp:56
double get_parameter(ParameterType) const override
Definition: NonlinearCDP.cpp:54
Definition: NonlinearCDP.h:48
const double g_t
Definition: NonlinearCDP.h:50
const double alpha
Definition: NonlinearCDP.h:51
const double g_c
Definition: NonlinearCDP.h:50
const double elastic_modulus
Definition: NonlinearCDP.h:49
const double alpha_p
Definition: NonlinearCDP.h:51
const double s0
Definition: NonlinearCDP.h:51
const double poissons_ratio
Definition: NonlinearCDP.h:49