Functions

LameUtils Namespace Reference

Utility functions for interfacing to LAME material library. More...

Functions

Teuchos::RCP< LameMaterial > constructLameMaterialModel (const std::string lameMaterialModelName, const Teuchos::ParameterList &lameMaterialParameters)
 Instantiate a lame::MaterialModel given the model name and a set of material parameters.
std::vector< std::string > getStateVariableNames (const std::string &lameMaterialModelName, const Teuchos::ParameterList &lameMaterialParameters)
 Return a vector containing the names of the state variables associated with the given LAME material model and material parameters.
std::vector< double > getStateVariableInitialValues (const std::string &lameMaterialModelName, const Teuchos::ParameterList &lameMaterialParameters)
 Return a vector containing the initial values for the state variables associated with the given LAME material model and material parameters.
void parameterListToMatProps (const Teuchos::ParameterList &lameMaterialParameters, LameMatProps &matProps)
 Convert a Teuchos::ParameterList into a lame(nt)MatProps structure.

Detailed Description

Utility functions for interfacing to LAME material library.


Function Documentation

Teuchos::RCP< LameMaterial > LameUtils::constructLameMaterialModel ( const std::string  lameMaterialModelName,
const Teuchos::ParameterList &  lameMaterialParameters 
)

Instantiate a lame::MaterialModel given the model name and a set of material parameters.

std::vector< std::string > LameUtils::getStateVariableNames ( const std::string &  lameMaterialModelName,
const Teuchos::ParameterList &  lameMaterialParameters 
)

Return a vector containing the names of the state variables associated with the given LAME material model and material parameters.

std::vector< double > LameUtils::getStateVariableInitialValues ( const std::string &  lameMaterialModelName,
const Teuchos::ParameterList &  lameMaterialParameters 
)

Return a vector containing the initial values for the state variables associated with the given LAME material model and material parameters.

void LameUtils::parameterListToMatProps ( const Teuchos::ParameterList &  lameMaterialParameters,
LameMatProps &  matProps 
) [inline]

Convert a Teuchos::ParameterList into a lame(nt)MatProps structure.

Definition at line 34 of file LameUtils.hpp.