Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MoReFEM
CoreLibrary
MoReFEM
Commits
89f88409
Commit
89f88409
authored
Aug 12, 2016
by
GILLES Sebastien
Browse files
#820
Renaming.
parent
c41fa25c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Sources/ModelInstances/UnderDevelopment/Poromechanics/SolidVariationalFormulationPolicy/Hyperelasticity/VariationalFormulation.hpp
View file @
89f88409
...
...
@@ -95,10 +95,10 @@ namespace HappyHeart
using
vm_type
=
HyperelasticityNS
::
VectorsAndMatrices
<
TimeSchemeT
>
;
using
V
iscolasticity
P
olicy
=
using
no_v
isco
e
lasticity
_p
olicy
=
::
HappyHeart
::
GlobalVariationalOperatorNS
::
SecondPiolaKirchhoffStressTensorNS
::
ViscoelasticityPolicyNS
::
None
;
using
A
ctive
S
tress
P
olicy
=
using
no_a
ctive
_s
tress
_p
olicy
=
::
HappyHeart
::
GlobalVariationalOperatorNS
::
SecondPiolaKirchhoffStressTensorNS
::
ActiveStressPolicyNS
::
None
;
using
variable_holder_parent
=
::
HappyHeart
::
PoromechanicsNS
::
Crtp
::
VariableHolder
<
self
>
;
...
...
@@ -112,12 +112,12 @@ namespace HappyHeart
public:
using
S
tiffness
O
perator
T
ype
=
using
s
tiffness
_o
perator
_t
ype
=
::
HappyHeart
::
GlobalVariationalOperatorNS
::
SecondPiolaKirchhoffStressTensor
<
hyperelasticity_policy
,
V
iscolasticity
P
olicy
,
A
ctive
S
tress
P
olicy
no_v
isco
e
lasticity
_p
olicy
,
no_a
ctive
_s
tress
_p
olicy
>
;
...
...
@@ -127,7 +127,7 @@ namespace HappyHeart
using
unique_ptr
=
std
::
unique_ptr
<
self
>
;
// \todo #501 Add a safety to ensure time step is constant! (model relies on this assumption).
using
time_manager_type
=
TimeManager
;
//::HappyHeart::Private::TimeManager<TimeManagerNS::Policy::ConstantTimeStep>;
using
time_manager_type
=
TimeManager
;
public:
...
...
@@ -260,7 +260,7 @@ namespace HappyHeart
//! Get the hyperelastic stiffness operator.
const
S
tiffness
O
perator
T
ype
&
const
s
tiffness
_o
perator
_t
ype
&
GetStiffnessOperator
()
const
noexcept
;
//! Get the mass per square time step operator.
...
...
@@ -301,7 +301,7 @@ namespace HappyHeart
//! Stiffness operator.
typename
S
tiffness
O
perator
T
ype
::
const_unique_ptr
stiffness_operator_
=
nullptr
;
typename
s
tiffness
_o
perator
_t
ype
::
const_unique_ptr
stiffness_operator_
=
nullptr
;
//! Mass operator.
::
HappyHeart
::
GlobalVariationalOperatorNS
::
Mass
::
const_unique_ptr
mass_operator_
=
nullptr
;
...
...
Sources/ModelInstances/UnderDevelopment/Poromechanics/SolidVariationalFormulationPolicy/Hyperelasticity/VariationalFormulation.hxx
View file @
89f88409
...
...
@@ -155,13 +155,13 @@ namespace HappyHeart
const
auto
&
displacement
=
GetSolidDisplacement
();
stiffness_operator_
=
std
::
make_unique
<
S
tiffness
O
perator
T
ype
>
(
felt_space_highest_dimension
,
displacement
,
mesh_dimension
,
GetSolid
(),
parent
::
GetTimeManager
(),
GetHyperelasticLawPtr
()
);
std
::
make_unique
<
s
tiffness
_o
perator
_t
ype
>
(
felt_space_highest_dimension
,
displacement
,
mesh_dimension
,
GetSolid
(),
parent
::
GetTimeManager
(),
GetHyperelasticLawPtr
()
);
mass_operator_
=
std
::
make_unique
<
GVO
::
Mass
>
(
felt_space_highest_dimension
,
displacement
,
...
...
@@ -390,7 +390,8 @@ namespace HappyHeart
class
HyperelasticLawT
,
HyperelasticityNS
::
TimeScheme
TimeSchemeT
>
inline
const
typename
VariationalFormulationHyperElasticity
<
HyperelasticLawT
,
TimeSchemeT
>::
StiffnessOperatorType
&
inline
const
typename
VariationalFormulationHyperElasticity
<
HyperelasticLawT
,
TimeSchemeT
>
::
stiffness_operator_type
&
VariationalFormulationHyperElasticity
<
HyperelasticLawT
,
TimeSchemeT
>::
GetStiffnessOperator
()
const
noexcept
{
assert
(
!
(
!
stiffness_operator_
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment