20 #ifndef __mast__stress_temperature_adjoint_h__ 21 #define __mast__stress_temperature_adjoint_h__ 29 #include "libmesh/elem.h" 57 const libMesh::NumericVector<Real>& adj_sol);
80 const unsigned int qp,
81 const libMesh::Point& quadrature_pt,
82 const libMesh::Point& physical_pt,
97 const unsigned int qp,
98 const libMesh::Point& quadrature_pt,
99 const libMesh::Point& physical_pt,
112 const unsigned int qp) {
119 virtual const std::map<
const libMesh::dof_id_type,
120 std::vector<MAST::StressStrainOutputBase::Data*> >&
129 virtual const std::vector<MAST::StressStrainOutputBase::Data*>&
143 #endif // __mast__stress_temperature_adjoint_h__ virtual ~StressTemperatureAdjoint()
The stress and thermoelastic analysis are dependent on temperature.
Data structure provides the mechanism to store stress and strain output from a structural analysis...
virtual bool if_evaluate_for_element(const MAST::GeomElem &elem) const
checks to see if the object has been told about the subset of elements and if the specified element i...
MAST::AssemblyBase * _thermal_assembly
virtual const std::vector< MAST::StressStrainOutputBase::Data * > & get_stress_strain_data_for_elem(const MAST::GeomElem &e) const
virtual MAST::StressStrainOutputBase::Data & get_stress_strain_data_for_elem_at_qp(const MAST::GeomElem &e, const unsigned int qp)
virtual void output_derivative_for_elem(RealVectorX &dq_dX)
calculates the derivative of p-norm von Mises stress for the norm identified using set_p_val()...
MAST::StressStrainOutputBase & _stress
virtual MAST::StressStrainOutputBase::Data & add_stress_strain_at_qp_location(const MAST::GeomElem &e, const unsigned int qp, const libMesh::Point &quadrature_pt, const libMesh::Point &physical_pt, const RealVectorX &stress, const RealVectorX &strain, Real JxW)
add the stress tensor associated with the qp.
virtual MAST::StressStrainOutputBase::Data & add_stress_strain_at_boundary_qp_location(const MAST::GeomElem &e, const unsigned int s, const unsigned int qp, const libMesh::Point &quadrature_pt, const libMesh::Point &physical_pt, const RealVectorX &stress, const RealVectorX &strain, Real JxW_Vn)
add the stress tensor associated with the qp on side s of element e.
StressTemperatureAdjoint(MAST::StressStrainOutputBase &stress)
default constructor
Matrix< Real, Dynamic, 1 > RealVectorX
This class provides a mechanism to store stress/strain values, their derivatives and sensitivity valu...
virtual bool if_evaluate_for_element(const MAST::GeomElem &elem) const
checks to see if the object has been told about the subset of elements and if the specified element i...
This class acts as a wrapper around libMesh::Elem for the purpose of providing a uniform interface fo...
void set_thermal_assembly(MAST::AssemblyBase &thermal_assembly)
void set_structural_solutions(const libMesh::NumericVector< Real > &sol, const libMesh::NumericVector< Real > &adj_sol)
virtual void set_elem_solution(const RealVectorX &sol)
sets the element solution
std::unique_ptr< libMesh::NumericVector< Real > > _structural_sol
virtual const std::map< const libMesh::dof_id_type, std::vector< MAST::StressStrainOutputBase::Data * > > & get_stress_strain_data() const
std::unique_ptr< libMesh::NumericVector< Real > > _structural_adjoint