37 _discipline (nullptr),
39 _physics_elem (nullptr),
40 _skip_comm_sum (false) {
57 "Error: Assembly should be cleared before attaching System.");
205 std::pair<const MAST::FieldFunction<RealVectorX>*,
unsigned int>
211 std::pair<const MAST::FieldFunction<RealVectorX>*,
unsigned int>
212 val = std::make_pair(
nullptr, 0);
214 std::map<unsigned int, std::vector<MAST::BoundaryConditionBase*>> loads;
218 std::map<unsigned int, std::vector<MAST::BoundaryConditionBase*>>::const_iterator
222 for ( ; it != end; it++) {
224 std::vector<MAST::BoundaryConditionBase*>::const_iterator
225 bc_it = it->second.begin(),
226 bc_end = it->second.end();
228 for ( ; bc_it != bc_end; bc_it++) {
231 switch ((*bc_it)->type()) {
236 val.second = it->first;
virtual void set_elem_perturbed_solution(const RealVectorX &sol)
sets the element perturbed solution
virtual void external_side_loads_for_quadrature_elem(std::multimap< libMesh::boundary_id_type, MAST::BoundaryConditionBase *> &bc, std::map< unsigned int, std::vector< MAST::BoundaryConditionBase *>> &loads) const
From the given list of boundary loads, this identifies the sides of the quadrature element and the lo...
virtual void set_elem_acceleration_sensitivity(const RealVectorX &accel)
sets the element acceleration
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...
virtual void set_elem_solution_sensitivity(const RealVectorX &sol)
sets the element solution sensitivity
virtual void set_assembly(MAST::AssemblyBase &assembly)
sets the assembly object
virtual void set_elem_solution(const RealVectorX &sol)
sets the element solution
virtual void clear_discipline_and_system()
clears association with a system to this discipline
MAST::PhysicsDisciplineBase * _discipline
MAST::ElementBase * _physics_elem
virtual std::pair< const MAST::FieldFunction< RealVectorX > *, unsigned int > get_elem_boundary_velocity_data()
searches through the side load data and populates the data with the boundary id and velocity function...
MAST::SystemInitialization & get_system_initialization()
MAST::PhysicsDisciplineBase & get_discipline()
const MAST::SideBCMapType & side_loads() const
virtual void clear_assembly()
clears the assembly object
virtual MAST::AssemblyBase & get_assembly()
virtual void set_discipline_and_system(MAST::PhysicsDisciplineBase &discipline, MAST::SystemInitialization &system)
attaches a system to this discipline
Matrix< Real, Dynamic, 1 > RealVectorX
virtual void set_elem_perturbed_acceleration(const RealVectorX &accel)
sets the element perturbed acceleration
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...
virtual void set_elem_velocity(const RealVectorX &vel)
sets the element velocity
MAST::AssemblyBase * _assembly
const MAST::GeomElem & elem() const
virtual void set_elem_velocity_sensitivity(const RealVectorX &vel)
sets the element velocity sensitivity
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...
virtual void clear_elem()
clears the element initialization
virtual void set_elem_perturbed_velocity(const RealVectorX &vel)
sets the element perturbed velocity
virtual void set_elem_acceleration(const RealVectorX &accel)
sets the element acceleration
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...
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 ~AssemblyElemOperations()
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...
MAST::SystemInitialization * _system