Alamo
src
Model
Solid
Affine
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
26
namespace
Model
27
{
28
namespace
Solid
29
{
30
namespace
Affine
31
{
32
33
template
<Set::Sym SYM>
34
class
Affine
:
public
Solid
<SYM>
35
{
36
public
:
37
Set::Matrix4<AMREX_SPACEDIM,SYM>
ddw
;
38
Set::Matrix
F0
;
39
void
SetF0
(
Set::Matrix
a_F0) {
F0
= a_F0; }
40
public
:
41
static
const
KinematicVariable
kinvar
=
KinematicVariable::gradu
;
42
};
43
}
44
}
45
}
46
#endif
Model::Solid::Affine::Affine::SetF0
void SetF0(Set::Matrix a_F0)
Definition:
Affine.H:39
Model::Solid::gradu
@ gradu
Definition:
Solid.H:26
Model::Solid::Affine::Affine::kinvar
static const KinematicVariable kinvar
Definition:
Affine.H:41
Model::Solid::Affine::Affine::F0
Set::Matrix F0
Definition:
Affine.H:38
Solid.H
Set::Matrix
Eigen::Matrix< amrex::Real, AMREX_SPACEDIM, AMREX_SPACEDIM > Matrix
Definition:
Base.H:23
Model::Solid::Solid
Definition:
Solid.H:29
Set::Matrix4< AMREX_SPACEDIM, SYM >
Set.H
Model::Solid::Affine::Affine
Definition:
Affine.H:34
Model::Solid::KinematicVariable
KinematicVariable
Definition:
Solid.H:26
Model::Solid::Affine::Affine::ddw
Set::Matrix4< AMREX_SPACEDIM, SYM > ddw
Definition:
Affine.H:37
Model
Definition:
Constant.H:12
Generated on Sat Feb 8 2025 00:07:39 for Alamo by
1.8.17