MAST
MAST::StressStrainOutputBase::Data Class Reference

This class provides a mechanism to store stress/strain values, their derivatives and sensitivity values corresponding to a specific quadrature point on the element. More...

#include <stress_output_base.h>

Public Member Functions

 Data (const RealVectorX &stress, const RealVectorX &strain, const libMesh::Point &qp, const libMesh::Point &xyz, Real JxW)
 
void clear_sensitivity_data ()
 
const libMesh::Point & point_location_in_element_coordinate () const
 
const RealVectorXstress () const
 
const RealVectorXstrain () const
 
Real quadrature_point_JxW () const
 
Real von_Mises_stress () const
 
RealVectorX dvon_Mises_stress_dX () const
 
Real dvon_Mises_stress_dp (const MAST::FunctionBase &f) const
 
void set_derivatives (const RealMatrixX &dstress_dX, const RealMatrixX &dstrain_dX)
 adds the derivative data More...
 
const RealMatrixXget_dstress_dX () const
 
const RealMatrixXget_dstrain_dX () const
 
void set_sensitivity (const MAST::FunctionBase &f, const RealVectorX &dstress_df, const RealVectorX &dstrain_df)
 sets the sensitivity of the data with respect to a function More...
 
bool has_stress_sensitivity (const MAST::FunctionBase &f) const
 @ returns true if sensitivity data is available for function f . More...
 
const RealVectorXget_stress_sensitivity (const MAST::FunctionBase &f) const
 @ returns the sensitivity of the data with respect to a function More...
 
const RealVectorXget_strain_sensitivity (const MAST::FunctionBase &f) const
 @ returns the sensitivity of the data with respect to a function More...
 

Protected Attributes

RealVectorX _stress
 stress data More...
 
RealVectorX _strain
 strain data More...
 
std::map< const MAST::FunctionBase *, RealVectorX_stress_sensitivity
 map of sensitivity of the stress with respect to a parameter More...
 
std::map< const MAST::FunctionBase *, RealVectorX_strain_sensitivity
 map of sensitivity of the strain with respect to a parameter More...
 
RealMatrixX _dstress_dX
 derivative of stress wrt state vector More...
 
RealMatrixX _dstrain_dX
 derivative of strain data wrt state vector More...
 
libMesh::Point _qp
 quadrature point location in element coordinates More...
 
libMesh::Point _xyz
 quadrature point location in physical coordinates More...
 
Real _JxW
 quadrature point JxW (product of transformation Jacobian and quadrature weight) for use in definition of functionals More...
 

Detailed Description

This class provides a mechanism to store stress/strain values, their derivatives and sensitivity values corresponding to a specific quadrature point on the element.

Definition at line 72 of file stress_output_base.h.

Constructor & Destructor Documentation

MAST::StressStrainOutputBase::Data::Data ( const RealVectorX stress,
const RealVectorX strain,
const libMesh::Point &  qp,
const libMesh::Point &  xyz,
Real  JxW 
)

Definition at line 35 of file stress_output_base.cpp.

Member Function Documentation

void MAST::StressStrainOutputBase::Data::clear_sensitivity_data ( )

Definition at line 56 of file stress_output_base.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Real MAST::StressStrainOutputBase::Data::dvon_Mises_stress_dp ( const MAST::FunctionBase f) const
Returns
derivative of von Mises stress wrt sensitivity parameter

Definition at line 235 of file stress_output_base.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

RealVectorX MAST::StressStrainOutputBase::Data::dvon_Mises_stress_dX ( ) const
Returns
derivative of von Mises stress wrt state vector

Definition at line 198 of file stress_output_base.cpp.

Here is the call graph for this function:

const RealMatrixX & MAST::StressStrainOutputBase::Data::get_dstrain_dX ( ) const
Returns
the derivative data

Definition at line 108 of file stress_output_base.cpp.

const RealMatrixX & MAST::StressStrainOutputBase::Data::get_dstress_dX ( ) const
Returns
the derivative data

Definition at line 101 of file stress_output_base.cpp.

const RealVectorX & MAST::StressStrainOutputBase::Data::get_strain_sensitivity ( const MAST::FunctionBase f) const

@ returns the sensitivity of the data with respect to a function

Definition at line 166 of file stress_output_base.cpp.

Here is the caller graph for this function:

const RealVectorX & MAST::StressStrainOutputBase::Data::get_stress_sensitivity ( const MAST::FunctionBase f) const

@ returns the sensitivity of the data with respect to a function

Definition at line 150 of file stress_output_base.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool MAST::StressStrainOutputBase::Data::has_stress_sensitivity ( const MAST::FunctionBase f) const

@ returns true if sensitivity data is available for function f .

Definition at line 138 of file stress_output_base.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const libMesh::Point & MAST::StressStrainOutputBase::Data::point_location_in_element_coordinate ( ) const
Returns
the point at which stress is evaluated, in the element coordinate system.

Definition at line 65 of file stress_output_base.cpp.

Here is the caller graph for this function:

Real MAST::StressStrainOutputBase::Data::quadrature_point_JxW ( ) const
Returns
the quadrature point JxW

Definition at line 115 of file stress_output_base.cpp.

void MAST::StressStrainOutputBase::Data::set_derivatives ( const RealMatrixX dstress_dX,
const RealMatrixX dstrain_dX 
)

adds the derivative data

Definition at line 87 of file stress_output_base.cpp.

Here is the caller graph for this function:

void MAST::StressStrainOutputBase::Data::set_sensitivity ( const MAST::FunctionBase f,
const RealVectorX dstress_df,
const RealVectorX dstrain_df 
)

sets the sensitivity of the data with respect to a function

Definition at line 122 of file stress_output_base.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const RealVectorX & MAST::StressStrainOutputBase::Data::strain ( ) const
Returns
strain

Definition at line 80 of file stress_output_base.cpp.

Here is the caller graph for this function:

const RealVectorX & MAST::StressStrainOutputBase::Data::stress ( ) const
Returns
stress

Definition at line 72 of file stress_output_base.cpp.

Here is the caller graph for this function:

Real MAST::StressStrainOutputBase::Data::von_Mises_stress ( ) const
Returns
von Mises stress

Definition at line 181 of file stress_output_base.cpp.

Member Data Documentation

RealMatrixX MAST::StressStrainOutputBase::Data::_dstrain_dX
protected

derivative of strain data wrt state vector

Definition at line 211 of file stress_output_base.h.

RealMatrixX MAST::StressStrainOutputBase::Data::_dstress_dX
protected

derivative of stress wrt state vector

Definition at line 206 of file stress_output_base.h.

Real MAST::StressStrainOutputBase::Data::_JxW
protected

quadrature point JxW (product of transformation Jacobian and quadrature weight) for use in definition of functionals

Definition at line 230 of file stress_output_base.h.

libMesh::Point MAST::StressStrainOutputBase::Data::_qp
protected

quadrature point location in element coordinates

Definition at line 217 of file stress_output_base.h.

RealVectorX MAST::StressStrainOutputBase::Data::_strain
protected

strain data

Definition at line 188 of file stress_output_base.h.

std::map<const MAST::FunctionBase*, RealVectorX> MAST::StressStrainOutputBase::Data::_strain_sensitivity
protected

map of sensitivity of the strain with respect to a parameter

Definition at line 200 of file stress_output_base.h.

RealVectorX MAST::StressStrainOutputBase::Data::_stress
protected

stress data

Definition at line 182 of file stress_output_base.h.

std::map<const MAST::FunctionBase*, RealVectorX> MAST::StressStrainOutputBase::Data::_stress_sensitivity
protected

map of sensitivity of the stress with respect to a parameter

Definition at line 194 of file stress_output_base.h.

libMesh::Point MAST::StressStrainOutputBase::Data::_xyz
protected

quadrature point location in physical coordinates

Definition at line 223 of file stress_output_base.h.


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