20 #ifndef __mast__elem_base__ 21 #define __mast__elem_base__ 31 #include "libmesh/elem.h" 32 #include "libmesh/system.h" 40 class SystemInitialization;
42 class NonlinearSystem;
134 bool if_sens =
false);
143 bool if_sens =
false);
152 bool if_sens =
false);
160 bool if_sens =
false);
168 bool if_sens =
false);
177 bool if_sens =
false);
185 bool if_sens =
false);
321 #endif // __mast__elem_base__
MAST::FunctionBase * _active_sol_function
pointer to the active solution mesh field function.
const RealVectorX & sol(bool if_sens=false) const
RealVectorX _accel
local acceleration
const MAST::GeomElem & _elem
geometric element for which the computations are performed
This class implements a system for solution of nonlinear systems.
MAST::NonlinearSystem & system()
RealVectorX _delta_vel
local velocity
ElementBase(MAST::SystemInitialization &sys, MAST::AssemblyBase &assembly, const MAST::GeomElem &elem)
The default constructor.
RealVectorX _delta_sol_sens
local solution used for linearized analysis
virtual void set_velocity(const RealVectorX &vec, bool if_sens=false)
stores vec as velocity for element level calculations, or its sensitivity if if_sens is true...
RealVectorX _accel_sens
local acceleration
RealVectorX _delta_accel
local acceleration
RealVectorX _vel_sens
local velocity
RealVectorX _delta_accel_sens
local acceleration
ComplexVectorX _complex_sol
local solution used for frequency domain analysis
void detach_active_solution_function()
Detaches the function object that may have been attached to the element.
const MAST::GeomElem & elem() const
Matrix< Complex, Dynamic, 1 > ComplexVectorX
RealVectorX _vel
local velocity
MAST::SystemInitialization & _system
SystemInitialization object associated with this element.
MAST::AssemblyBase & assembly()
MAST::SystemInitialization & system_initialization()
RealVectorX _delta_sol
local solution used for linearized analysis
virtual ~ElementBase()
Default virtual destructor.
ComplexVectorX _complex_sol_sens
local solution used for frequency domain analysis
Matrix< Real, Dynamic, 1 > RealVectorX
RealVectorX _sol_sens
local solution sensitivity
RealVectorX _sol
local solution
virtual void set_perturbed_solution(const RealVectorX &vec, bool if_sens=false)
This provides the perturbed solution (or its sensitivity if if_sens is true.) for linearized analysis...
This class acts as a wrapper around libMesh::Elem for the purpose of providing a uniform interface fo...
MAST::AssemblyBase & _assembly
Assembly object.
virtual void set_solution(const RealVectorX &vec, bool if_sens=false)
stores vec as solution for element level calculations, or its sensitivity if if_sens is true...
void attach_active_solution_function(MAST::FunctionBase &f)
Attaches the function that represents the system solution.
virtual void set_perturbed_velocity(const RealVectorX &vec, bool if_sens=false)
stores vec as perturbed velocity for element level calculations, or its sensitivity if if_sens is tru...
const Real & _time
time for which system is being assembled
virtual void set_perturbed_acceleration(const RealVectorX &vec, bool if_sens=false)
stores vec as perturbed acceleration for element level calculations, or its sensitivity if if_sens is...
virtual void set_complex_solution(const ComplexVectorX &vec, bool if_sens=false)
This provides the complex solution (or its sensitivity if if_sens is true.) for frequecy-domain analy...
virtual void set_acceleration(const RealVectorX &vec, bool if_sens=false)
stores vec as acceleration for element level calculations, or its sensitivity if if_sens is true...
RealVectorX _delta_vel_sens
local velocity
This is the base class for elements that implement calculation of finite element quantities over the ...