MAST
|
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 RealVectorX & | stress () const |
const RealVectorX & | strain () 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 RealMatrixX & | get_dstress_dX () const |
const RealMatrixX & | get_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 RealVectorX & | get_stress_sensitivity (const MAST::FunctionBase &f) const |
@ returns the sensitivity of the data with respect to a function More... | |
const RealVectorX & | get_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... | |
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.
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.
void MAST::StressStrainOutputBase::Data::clear_sensitivity_data | ( | ) |
Definition at line 56 of file stress_output_base.cpp.
Real MAST::StressStrainOutputBase::Data::dvon_Mises_stress_dp | ( | const MAST::FunctionBase & | f | ) | const |
Definition at line 235 of file stress_output_base.cpp.
RealVectorX MAST::StressStrainOutputBase::Data::dvon_Mises_stress_dX | ( | ) | const |
Definition at line 198 of file stress_output_base.cpp.
const RealMatrixX & MAST::StressStrainOutputBase::Data::get_dstrain_dX | ( | ) | const |
Definition at line 108 of file stress_output_base.cpp.
const RealMatrixX & MAST::StressStrainOutputBase::Data::get_dstress_dX | ( | ) | const |
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.
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.
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.
const libMesh::Point & MAST::StressStrainOutputBase::Data::point_location_in_element_coordinate | ( | ) | const |
Definition at line 65 of file stress_output_base.cpp.
Real MAST::StressStrainOutputBase::Data::quadrature_point_JxW | ( | ) | const |
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.
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.
const RealVectorX & MAST::StressStrainOutputBase::Data::strain | ( | ) | const |
Definition at line 80 of file stress_output_base.cpp.
const RealVectorX & MAST::StressStrainOutputBase::Data::stress | ( | ) | const |
Definition at line 72 of file stress_output_base.cpp.
Real MAST::StressStrainOutputBase::Data::von_Mises_stress | ( | ) | const |
Definition at line 181 of file stress_output_base.cpp.
|
protected |
derivative of strain data wrt state vector
Definition at line 211 of file stress_output_base.h.
|
protected |
derivative of stress wrt state vector
Definition at line 206 of file stress_output_base.h.
|
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.
|
protected |
quadrature point location in element coordinates
Definition at line 217 of file stress_output_base.h.
|
protected |
strain data
Definition at line 188 of file stress_output_base.h.
|
protected |
map of sensitivity of the strain with respect to a parameter
Definition at line 200 of file stress_output_base.h.
|
protected |
stress data
Definition at line 182 of file stress_output_base.h.
|
protected |
map of sensitivity of the stress with respect to a parameter
Definition at line 194 of file stress_output_base.h.
|
protected |
quadrature point location in physical coordinates
Definition at line 223 of file stress_output_base.h.