33 #ifndef SCALED_HOOKE_LAW_H_
34 #define SCALED_HOOKE_LAW_H_
44 namespace SmallStrainMechanics{
52 template <
typename TDomain>
96 std::vector<DoFIndex> ind;
97 if(
m_spScaling->inner_dof_indices(elem, fct, ind) != 1)
125 template <
typename TDomain>
160 (*m_pEnergy_elem) /= (*m_pScaling_elem);
168 template <
typename TDomain>
Material Law:
Definition: scaled_hooke_law.h:128
bool m_bInit
flag indicating, if material law has been initialized
Definition: mat_law_interface.h:128
domain_traits< TDomain::dim >::grid_base_object TBaseElem
base element type of associated domain
Definition: mat_law_interface.h:50
Definition: scaled_hooke_law.h:54
Material Law:
Definition: scaled_hooke_law.h:171
TopologyOptimLaw< TDomain > this_type
own type
Definition: scaled_hooke_law.h:177
number * m_pEnergy_elem
Definition: scaled_hooke_law.h:115
DamageLaw< TDomain > this_type
own type
Definition: scaled_hooke_law.h:134
virtual number scaling_on_curr_elem()
Definition: scaled_hooke_law.h:202
virtual void post_process_energy_on_curr_elem()
Definition: scaled_hooke_law.h:104
static const int dim
World dimension.
Definition: scaled_hooke_law.h:142
base_type::TBaseElem TBaseElem
base element type
Definition: scaled_hooke_law.h:68
static const int dim
World dimension.
Definition: hooke.h:86
TopologyOptimLaw(SmartPtr< GridFunction< TDomain, CPUAlgebra > > spChi, SmartPtr< GridFunction< TDomain, CPUAlgebra > > spDrivingForce, int expPenalize)
constructor
Definition: scaled_hooke_law.h:192
HookeLaw< TDomain > base_type
Base class type.
Definition: scaled_hooke_law.h:57
virtual number scaling_on_curr_elem()
Definition: scaled_hooke_law.h:107
base_type::TBaseElem TBaseElem
base element type
Definition: scaled_hooke_law.h:145
number & energy_on_curr_elem()
Definition: scaled_hooke_law.h:108
DamageLaw(SmartPtr< GridFunction< TDomain, CPUAlgebra > > spF, SmartPtr< GridFunction< TDomain, CPUAlgebra > > spPsi0)
constructor
Definition: scaled_hooke_law.h:149
number * m_pScaling_elem
Definition: scaled_hooke_law.h:114
int m_expPenalize
Definition: scaled_hooke_law.h:211
base_type::TBaseElem TBaseElem
base element type
Definition: scaled_hooke_law.h:188
SmartPtr< GridFunction< TDomain, CPUAlgebra > > m_spEnergy
Definition: scaled_hooke_law.h:112
static const int dim
World dimension.
Definition: scaled_hooke_law.h:185
IScaledHookeLaw< TDomain > this_type
own type
Definition: scaled_hooke_law.h:60
IScaledHookeLaw< TDomain > base_type
Base class type.
Definition: scaled_hooke_law.h:131
IScaledHookeLaw< TDomain > base_type
Base class type.
Definition: scaled_hooke_law.h:174
static const int dim
World dimension.
Definition: scaled_hooke_law.h:65
~TopologyOptimLaw()
Destructor.
Definition: scaled_hooke_law.h:200
SmartPtr< GridFunction< TDomain, CPUAlgebra > > m_spScaling
Definition: scaled_hooke_law.h:111
void internal_vars(TBaseElem *elem)
Definition: scaled_hooke_law.h:93
void init_internal_vars(TBaseElem *elem, const size_t numIP)
reset values explicitly
Definition: scaled_hooke_law.h:83
IScaledHookeLaw(SmartPtr< GridFunction< TDomain, CPUAlgebra > > spScaling, SmartPtr< GridFunction< TDomain, CPUAlgebra > > spEnergy)
constructor
Definition: scaled_hooke_law.h:72
~DamageLaw()
Destructor.
Definition: scaled_hooke_law.h:155
virtual void post_process_energy_on_curr_elem()
Definition: scaled_hooke_law.h:158
virtual void post_process_energy_on_curr_elem()
Definition: scaled_hooke_law.h:205
~IScaledHookeLaw()
Destructor.
Definition: scaled_hooke_law.h:80
const number & DoFRef(const TMatrix &mat, const DoFIndex &iInd, const DoFIndex &jInd)