Alamo
Affine.H
Go to the documentation of this file.
1//
2// "Affine" generally means "linear with an offset". Here we use "affine" to
3// refer to models that are elastic with an eigenstrain, i.e.
4//
5// .. math::
6//
7// \sigma = \mathbb{C}(\varepsilon - \varepsilon_0)
8//
9// The quantity :math:`\varepsilon_0` is any kind of eigenstrain - examples
10// include thermal strain, plastic strain, or viscous strain.
11// This class can be used directly, where the eigenstrain is read in or
12// set by the integrator.
13// There are also classes (particularly visco/plastic models) that inherit
14// from this type of model.
15//
16#ifndef MODEL_SOLID_AFFINE_H_
17#define MODEL_SOLID_AFFINE_H_
18
19#include "AMReX.H"
20#include <AMReX_REAL.H>
21#include <eigen3/Eigen/Core>
22
23#include "Set/Set.H"
24#include "Model/Solid/Solid.H"
25
26namespace Model
27{
28namespace Solid
29{
30namespace Affine
31{
32
33template<Set::Sym SYM>
34class Affine : public Solid<SYM>
35{
36public:
39 void SetF0(Set::Matrix a_F0) { F0 = a_F0; }
40public:
42};
43}
44}
45}
46#endif
void SetF0(Set::Matrix a_F0)
Definition Affine.H:39
static const KinematicVariable kinvar
Definition Affine.H:41
Set::Matrix4< AMREX_SPACEDIM, SYM > ddw
Definition Affine.H:37
KinematicVariable
Definition Solid.H:26
Eigen::Matrix< amrex::Real, AMREX_SPACEDIM, 1 > Vector
Definition Base.H:20
Eigen::Matrix< amrex::Real, AMREX_SPACEDIM, AMREX_SPACEDIM > Matrix
Definition Base.H:23