Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Protected Attributes | List of all members
AMP::Operator::MechanicsModel Class Reference

#include <MechanicsModel.h>

Inheritance diagram for AMP::Operator::MechanicsModel:
Inheritance graph
[legend]

Public Member Functions

virtual void getStress (std::shared_ptr< AMP::LinearAlgebra::Vector > stress)
 
virtual void getTangent (std::shared_ptr< AMP::LinearAlgebra::Vector > tangent)
 
 MechanicsModel (std::shared_ptr< const MechanicsModelParameters > &params)
 
virtual void reset (std::shared_ptr< MechanicsModelParameters > params)
 
virtual void setDebugPrintInfoLevel (int print_level)
 
virtual ~MechanicsModel ()
 

Protected Attributes

std::shared_ptr< AMP::LinearAlgebra::Vectord_deformationGradient
 
int d_iDebugPrintInfoLevel
 
std::shared_ptr< AMP::Materials::Materiald_material
 

Detailed Description

Definition at line 15 of file MechanicsModel.h.

Constructor & Destructor Documentation

◆ MechanicsModel()

AMP::Operator::MechanicsModel::MechanicsModel ( std::shared_ptr< const MechanicsModelParameters > &  params)
inlineexplicit

Constructor

Definition at line 19 of file MechanicsModel.h.

References AMP_INSIST, d_material, and AMP::Materials::getMaterial().

◆ ~MechanicsModel()

virtual AMP::Operator::MechanicsModel::~MechanicsModel ( )
inlinevirtual

Destructor

Definition at line 32 of file MechanicsModel.h.

Member Function Documentation

◆ getStress()

virtual void AMP::Operator::MechanicsModel::getStress ( std::shared_ptr< AMP::LinearAlgebra::Vector stress)
inlinevirtual

This function should return the stress values in the vector provided.

Definition at line 48 of file MechanicsModel.h.

◆ getTangent()

virtual void AMP::Operator::MechanicsModel::getTangent ( std::shared_ptr< AMP::LinearAlgebra::Vector tangent)
inlinevirtual

This function should return the consistent/continuum tangent values in the vector provided.

Definition at line 44 of file MechanicsModel.h.

◆ reset()

virtual void AMP::Operator::MechanicsModel::reset ( std::shared_ptr< MechanicsModelParameters params)
inlinevirtual

This function is used by the Mechanics operator to pass relevant values to this material model. These values will be used to compute the stress and/or tangent.

Definition at line 37 of file MechanicsModel.h.

References d_deformationGradient.

◆ setDebugPrintInfoLevel()

virtual void AMP::Operator::ElementPhysicsModel::setDebugPrintInfoLevel ( int  print_level)
inlinevirtualinherited

Specify level of diagnostic information printed during iterations.

Parameters
[in]print_levelzero prints none or minimal information, higher numbers provide increasingly verbose debugging information.

Definition at line 36 of file ElementPhysicsModel.h.

References AMP::Operator::ElementPhysicsModel::d_iDebugPrintInfoLevel.

Member Data Documentation

◆ d_deformationGradient

std::shared_ptr<AMP::LinearAlgebra::Vector> AMP::Operator::MechanicsModel::d_deformationGradient
protected

Pointer to the deformation gradient that is required to compute the stress and/or tangent.

Definition at line 56 of file MechanicsModel.h.

Referenced by reset().

◆ d_iDebugPrintInfoLevel

int AMP::Operator::ElementPhysicsModel::d_iDebugPrintInfoLevel
protectedinherited

Variable that controls the amount of diagnostic information that gets printed within this material model.

Definition at line 39 of file ElementPhysicsModel.h.

Referenced by AMP::Operator::ElementPhysicsModel::ElementPhysicsModel(), and AMP::Operator::ElementPhysicsModel::setDebugPrintInfoLevel().

◆ d_material

std::shared_ptr<AMP::Materials::Material> AMP::Operator::MechanicsModel::d_material
protected

The material object that can be used to get material properties

Definition at line 52 of file MechanicsModel.h.

Referenced by MechanicsModel().


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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:44.
Comments on this page