LifeV
VenantKirchhoffViscoelasticData Class Reference

#include <VenantKirchhoffViscoelasticData.hpp>

+ Collaboration diagram for VenantKirchhoffViscoelasticData:

Public Member Functions

 VenantKirchhoffViscoelasticData ()
 Constructor. More...
 
 VenantKirchhoffViscoelasticData (const VenantKirchhoffViscoelasticData &VenantKirchhoffViscoelasticData)
 

Private Attributes

timePtr_Type M_time
 Data containers for time and mesh. More...
 
timeAdvancePtr_Type M_timeAdvance
 
UInt M_verbose
 verbose More...
 
std::string M_order
 order More...
 
bool M_damping
 damping true when there is damping term More...
 

Type definitions

typedef TimeData time_Type
 
typedef std::shared_ptr< time_TypetimePtr_Type
 
typedef TimeAdvanceData timeAdvance_Type
 
typedef std::shared_ptr< timeAdvance_TypetimeAdvancePtr_Type
 
typedef std::map< UInt, RealMaterialContainer_Type
 
typedef MaterialContainer_Type::const_iterator MaterialContainer_ConstIterator
 

Operators

VenantKirchhoffViscoelasticDataoperator= (const VenantKirchhoffViscoelasticData &VenantKirchhoffViscoelasticData)
 Operator=. More...
 

Methods

void setup (const GetPot &dataFile, const std::string &section="solid")
 Read the dataFile and set all the quantities. More...
 
void showMe (std::ostream &output=std::cout) const
 Display the values. More...
 

Set methods

void setTimeData (const timePtr_Type timeData)
 Set data time container. More...
 
void setTimeAdvanceData (const timeAdvancePtr_Type timeAdvanceData)
 Set data time advance container. More...
 
void setDensity (const Real &density)
 Set density. More...
 
void setGamma (const Real &gamma)
 Set gamma. More...
 
void setGamma (const Real &gamma, const UInt &material)
 
void setBeta (const Real &beta)
 Set beta. More...
 
void setBeta (const Real &beta, const UInt &material)
 
void setThickness (const Real &thickness)
 Set thickness. More...
 
void setPoisson (const Real &poisson, const UInt &material=1)
 Set poisson. More...
 
void setYoung (const Real &young, const UInt &material=1)
 Set Young modulus. More...
 

Get methods

timePtr_Type dataTime () const
 Get data time container. More...
 
timeAdvancePtr_Type dataTimeAdvance () const
 Get data time container. More...
 
const Realrho () const
 Get solid density. More...
 
const Realthickness () const
 Get solid thickness. More...
 
Real poisson (const UInt &material=1) const
 Get solid poisson coefficient. More...
 
Real young (const UInt &material=1) const
 Get solid young modulus. More...
 
Real lambda (const UInt &material=1) const
 Get solid first lame coefficient. More...
 
Real mu (const UInt &material=1) const
 Get solid second Lame coefficient. More...
 
const Realgamma (const UInt &material=1) const
 Get damping coefficients. More...
 
const Realbeta (const UInt &material=1) const
 
const std::string & order () const
 Get FE order. More...
 
const Realfactor () const
 Get solid amplification factor. More...
 
const UIntverbose () const
 Get verbose level. More...
 
bool damping () const
 
Real M_density
 density More...
 
Real M_thickness
 thickness More...
 
MaterialContainer_Type M_poisson
 poisson More...
 
MaterialContainer_Type M_young
 young More...
 
MaterialContainer_Type M_gamma
 damping coefficient (Stiffness) More...
 
MaterialContainer_Type M_beta
 damping coefficint (mass) More...
 

Detailed Description

Definition at line 59 of file VenantKirchhoffViscoelasticData.hpp.

Member Typedef Documentation

◆ time_Type

Definition at line 65 of file VenantKirchhoffViscoelasticData.hpp.

◆ timePtr_Type

typedef std::shared_ptr<time_Type> timePtr_Type

Definition at line 66 of file VenantKirchhoffViscoelasticData.hpp.

◆ timeAdvance_Type

◆ timeAdvancePtr_Type

typedef std::shared_ptr<timeAdvance_Type> timeAdvancePtr_Type

Definition at line 69 of file VenantKirchhoffViscoelasticData.hpp.

◆ MaterialContainer_Type

typedef std::map<UInt, Real> MaterialContainer_Type

Definition at line 71 of file VenantKirchhoffViscoelasticData.hpp.

◆ MaterialContainer_ConstIterator

typedef MaterialContainer_Type::const_iterator MaterialContainer_ConstIterator

Definition at line 72 of file VenantKirchhoffViscoelasticData.hpp.

Constructor & Destructor Documentation

◆ VenantKirchhoffViscoelasticData() [1/2]

Constructor.

Definition at line 45 of file VenantKirchhoffViscoelasticData.cpp.

+ Here is the caller graph for this function:

◆ VenantKirchhoffViscoelasticData() [2/2]

VenantKirchhoffViscoelasticData ( const VenantKirchhoffViscoelasticData VenantKirchhoffViscoelasticData)

Definition at line 60 of file VenantKirchhoffViscoelasticData.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ operator=()

VenantKirchhoffViscoelasticData & operator= ( const VenantKirchhoffViscoelasticData VenantKirchhoffViscoelasticData)

◆ setup()

void setup ( const GetPot dataFile,
const std::string &  section = "solid" 
)

Read the dataFile and set all the quantities.

Parameters
dataFiledata file
sectionsection of the file

Definition at line 105 of file VenantKirchhoffViscoelasticData.cpp.

◆ showMe()

void showMe ( std::ostream &  output = std::cout) const

Display the values.

Definition at line 157 of file VenantKirchhoffViscoelasticData.cpp.

◆ setTimeData()

void setTimeData ( const timePtr_Type  timeData)
inline

Set data time container.

Parameters
TimeDatashared_ptr to TimeData container

Definition at line 112 of file VenantKirchhoffViscoelasticData.hpp.

◆ setTimeAdvanceData()

void setTimeAdvanceData ( const timeAdvancePtr_Type  timeAdvanceData)
inline

Set data time advance container.

Parameters
timeAdvanceDatashared_ptr to TimeAdvanceData container

Definition at line 121 of file VenantKirchhoffViscoelasticData.hpp.

◆ setDensity()

void setDensity ( const Real density)

Set density.

Parameters
densitysolid density value

Definition at line 205 of file VenantKirchhoffViscoelasticData.cpp.

◆ setGamma() [1/2]

void setGamma ( const Real gamma)

Set gamma.

Parameters
gammadamping coefficient.

◆ setGamma() [2/2]

void setGamma ( const Real gamma,
const UInt material 
)

Definition at line 229 of file VenantKirchhoffViscoelasticData.cpp.

◆ setBeta() [1/2]

void setBeta ( const Real beta)

Set beta.

Parameters
betadamping coefficient.

◆ setBeta() [2/2]

void setBeta ( const Real beta,
const UInt material 
)

Definition at line 236 of file VenantKirchhoffViscoelasticData.cpp.

◆ setThickness()

void setThickness ( const Real thickness)

Set thickness.

Parameters
thicknesssolid thickness value

Definition at line 211 of file VenantKirchhoffViscoelasticData.cpp.

◆ setPoisson()

void setPoisson ( const Real poisson,
const UInt material = 1 
)

Set poisson.

Parameters
poissonsolid poisson value
materialmaterial ID (1 by default)

Definition at line 217 of file VenantKirchhoffViscoelasticData.cpp.

◆ setYoung()

void setYoung ( const Real young,
const UInt material = 1 
)

Set Young modulus.

Parameters
Youngsolid young modulus value
materialmaterial ID (1 by default)

Definition at line 223 of file VenantKirchhoffViscoelasticData.cpp.

◆ dataTime()

timePtr_Type dataTime ( ) const
inline

Get data time container.

Returns
shared_ptr to TimeData container

Definition at line 178 of file VenantKirchhoffViscoelasticData.hpp.

◆ dataTimeAdvance()

timeAdvancePtr_Type dataTimeAdvance ( ) const
inline

Get data time container.

Returns
shared_ptr to TimeAdvanceData container

Definition at line 187 of file VenantKirchhoffViscoelasticData.hpp.

◆ rho()

const Real & rho ( ) const

Get solid density.

Returns
Solid density

Definition at line 245 of file VenantKirchhoffViscoelasticData.cpp.

◆ thickness()

const Real & thickness ( ) const

Get solid thickness.

Returns
Solid thickness

Definition at line 251 of file VenantKirchhoffViscoelasticData.cpp.

◆ poisson()

Real poisson ( const UInt material = 1) const

Get solid poisson coefficient.

Parameters
materialmaterial ID (1 by default)
Returns
Solid poisson coefficient

Definition at line 257 of file VenantKirchhoffViscoelasticData.cpp.

◆ young()

Real young ( const UInt material = 1) const

Get solid young modulus.

Parameters
materialmaterial ID (1 by default)
Returns
Solid young modulus

Definition at line 271 of file VenantKirchhoffViscoelasticData.cpp.

◆ lambda()

Real lambda ( const UInt material = 1) const

Get solid first lame coefficient.

Parameters
materialmaterial ID (1 by default)
Returns
Solid first Lame coefficient

Definition at line 285 of file VenantKirchhoffViscoelasticData.cpp.

◆ mu()

Real mu ( const UInt material = 1) const

Get solid second Lame coefficient.

Parameters
materialmaterial ID (1 by default)
Returns
Solid second Lame coefficient

Definition at line 292 of file VenantKirchhoffViscoelasticData.cpp.

◆ gamma()

const Real & gamma ( const UInt material = 1) const

Get damping coefficients.

Returns
gamma damping coefficient

Definition at line 299 of file VenantKirchhoffViscoelasticData.cpp.

◆ beta()

const Real & beta ( const UInt material = 1) const
Returns
beta damping coefficient

Definition at line 305 of file VenantKirchhoffViscoelasticData.cpp.

◆ order()

const std::string & order ( ) const

Get FE order.

Returns
FE order

Definition at line 311 of file VenantKirchhoffViscoelasticData.cpp.

◆ factor()

const Real& factor ( ) const

Get solid amplification factor.

Returns
Solid amplification factor

◆ verbose()

const UInt& verbose ( ) const

Get verbose level.

Returns
verbose level

◆ damping()

bool damping ( ) const
inline

Definition at line 265 of file VenantKirchhoffViscoelasticData.hpp.

Field Documentation

◆ M_time

timePtr_Type M_time
private

Data containers for time and mesh.

Definition at line 274 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_timeAdvance

timeAdvancePtr_Type M_timeAdvance
private

Definition at line 275 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_density

Real M_density
private

density

Definition at line 280 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_thickness

Real M_thickness
private

thickness

Definition at line 283 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_poisson

MaterialContainer_Type M_poisson
private

poisson

Definition at line 286 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_young

MaterialContainer_Type M_young
private

young

Definition at line 289 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_gamma

MaterialContainer_Type M_gamma
private

damping coefficient (Stiffness)

Definition at line 292 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_beta

MaterialContainer_Type M_beta
private

damping coefficint (mass)

Definition at line 295 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_verbose

UInt M_verbose
private

verbose

Definition at line 299 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_order

std::string M_order
private

order

Definition at line 301 of file VenantKirchhoffViscoelasticData.hpp.

◆ M_damping

bool M_damping
private

damping true when there is damping term

Definition at line 304 of file VenantKirchhoffViscoelasticData.hpp.


The documentation for this class was generated from the following files: