20 #ifndef __mast__surface_integrated_pressure_output__ 21 #define __mast__surface_integrated_pressure_output__ 86 libmesh_assert_equal_to(v.size(), 3);
103 libmesh_assert_equal_to(v.size(), 3);
122 libmesh_assert_equal_to(m.rows(), 3);
167 #endif // __mast__surface_integrated_pressure_output__
RealMatrixX _dload_dX
derivative of load wrt state vector.
void set_load(const RealVectorX &v)
sets the value of the load
The surface integrated pressure calculation in the fluid element will provide a force vector for the ...
void set_load_sensitivity(const MAST::FunctionBase &f, const RealVectorX &v)
sets the value of the load sensitivity wrt function f.
This provides the base class for definitin of element level contribution of output quantity in an ana...
Real sensitivity(const MAST::FunctionBase &f) const
MAST::SurfaceIntegratedPressureOutput::OutputMode _mode
output calculation mode
void set_output_mode(MAST::SurfaceIntegratedPressureOutput::OutputMode o, const RealVectorX *n_vec=nullptr)
sets the mode that will be used for calculation of the output functional from the load vector...
SurfaceIntegratedPressureOutput(MAST::SurfaceIntegratedPressureOutput::OutputMode o, const RealVectorX &n_vec=RealVectorX::Zero(3, 1))
default constructor
Matrix< Real, Dynamic, Dynamic > RealMatrixX
void set_load_derivative(const RealMatrixX &m)
sets the value of the load sensitivity wrt function f.
RealVectorX _load
This is the 3x1 vector of the integrated load.
RealVectorX _n_vec
unit vector used for output, if _mode = UNIT_VEC
void clear()
clears the stored data
Matrix< Real, Dynamic, 1 > RealVectorX
RealVectorX derivative() const
virtual ~SurfaceIntegratedPressureOutput()
std::map< const MAST::FunctionBase *, RealVectorX > _load_sensitivity
map of sensitivity of the stress with respect to a parameter