31#ifndef NONLINEARHOFFMAN_H
32#define NONLINEARHOFFMAN_H
41 static constexpr double two_third = 2. / 3.;
42 static const double root_two_third;
43 static constexpr unsigned max_iteration = 20u;
44 static const uword sa;
47 mat proj_a, proj_b, elastic_a;
49 [[nodiscard]]
virtual double compute_k(
double)
const = 0;
50 [[nodiscard]]
virtual double compute_dk(
double)
const = 0;
61 int initialize(
const shared_ptr<DomainBase>&)
override;
69 void print()
override;
The Material3D class.
Definition: Material3D.h:37
The NonlinearHoffman class.
Definition: NonlinearHoffman.h:40
int commit_status() override
Definition: NonlinearHoffman.cpp:117
int clear_status() override
Definition: NonlinearHoffman.cpp:109
void print() override
Definition: NonlinearHoffman.cpp:133
NonlinearHoffman(unsigned, vec &&, vec &&, vec &&, double=0.)
Definition: NonlinearHoffman.cpp:25
int update_trial_status(const vec &) override
Definition: NonlinearHoffman.cpp:39
int reset_status() override
Definition: NonlinearHoffman.cpp:125
int initialize(const shared_ptr< DomainBase > &) override
Definition: NonlinearHoffman.cpp:29
Definition: NonlinearHoffman.h:36
const vec ratio
Definition: NonlinearHoffman.h:37
const vec yield_stress
Definition: NonlinearHoffman.h:37
const vec modulus
Definition: NonlinearHoffman.h:37