MAST
|
#include <physics_discipline_base.h>
Public Member Functions | |
PhysicsDisciplineBase (libMesh::EquationSystems &eq_sys) | |
virtual | ~PhysicsDisciplineBase () |
virtual destructor More... | |
libMesh::EquationSystems & | get_equation_systems () |
returns a reference to the libMesh::System object More... | |
void | clear_loads () |
clear the loads and pointer to static solution system for this structural model More... | |
void | clear_volume_load (libMesh::subdomain_id_type sid, MAST::BoundaryConditionBase &load) |
clear the specified volume load from the applied loads More... | |
void | add_side_load (libMesh::boundary_id_type bid, MAST::BoundaryConditionBase &load) |
adds the specified side loads for the boudnary with tag b_id More... | |
void | add_dirichlet_bc (libMesh::boundary_id_type bid, MAST::DirichletBoundaryCondition &load) |
adds the specified Dirichlet boundary condition for the boundary with tag b_id More... | |
const MAST::SideBCMapType & | side_loads () const |
MAST::SideBCMapType & | side_loads () |
void | add_volume_load (libMesh::subdomain_id_type bid, MAST::BoundaryConditionBase &load) |
adds the specified volume loads for the elements with subdomain tag s_id More... | |
void | add_point_load (MAST::PointLoadCondition &load) |
adds the specified point load More... | |
const MAST::VolumeBCMapType & | volume_loads () const |
MAST::VolumeBCMapType & | volume_loads () |
const MAST::PointLoadSetType & | point_loads () const |
MAST::PointLoadSetType & | point_loads () |
void | constrain_subdomain_dofs_for_var (const libMesh::subdomain_id_type sid, const unsigned int var) |
constrain dofs on a subdomain to zero More... | |
void | init_system_dirichlet_bc (MAST::NonlinearSystem &sys) const |
initializes the system for dirichlet boundary conditions More... | |
void | clear_system_dirichlet_bc (MAST::NonlinearSystem &sys) const |
clears the system dirichlet boundary conditions More... | |
void | get_system_dirichlet_bc_dofs (libMesh::System &sys, std::set< unsigned int > &dof_ids) const |
Prepares a list of the constrained dofs for system sys and returns in dof_ids . More... | |
void | set_property_for_subdomain (const libMesh::subdomain_id_type sid, const MAST::ElementPropertyCardBase &prop) |
sets the same property for all elements in the specified subdomain More... | |
const MAST::ElementPropertyCardBase & | get_property_card (const libMesh::Elem &elem) const |
get property card for the specified element More... | |
const MAST::ElementPropertyCardBase & | get_property_card (const MAST::GeomElem &elem) const |
get property card for the specified element More... | |
const MAST::ElementPropertyCardBase & | get_property_card (const unsigned int sid) const |
get property card for the specified subdomain id i More... | |
Protected Attributes | |
libMesh::EquationSystems & | _eq_systems |
libMesh::System for which analysis is to be performed More... | |
MAST::PropertyCardMapType | _element_property |
map of element property cards for each element More... | |
MAST::SideBCMapType | _side_bc_map |
side boundary condition map of boundary id and load More... | |
MAST::DirichletBCMapType | _dirichlet_bc_map |
Dirichlet boundary condition map of boundary id and load. More... | |
std::map< libMesh::subdomain_id_type, std::vector< unsigned int > > | _subdomain_var_constraint |
variables constrained on subdomain More... | |
MAST::VolumeBCMapType | _vol_bc_map |
volume boundary condition map of boundary id and load More... | |
MAST::PointLoadSetType | _point_loads |
point loads More... | |
Definition at line 56 of file physics_discipline_base.h.
|
inline |
Definition at line 61 of file physics_discipline_base.h.
|
inlinevirtual |
virtual destructor
Definition at line 68 of file physics_discipline_base.h.
void MAST::PhysicsDisciplineBase::add_dirichlet_bc | ( | libMesh::boundary_id_type | bid, |
MAST::DirichletBoundaryCondition & | load | ||
) |
adds the specified Dirichlet boundary condition for the boundary with tag b_id
Definition at line 62 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::add_point_load | ( | MAST::PointLoadCondition & | load | ) |
adds the specified point load
Definition at line 108 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::add_side_load | ( | libMesh::boundary_id_type | bid, |
MAST::BoundaryConditionBase & | load | ||
) |
adds the specified side loads for the boudnary with tag b_id
Definition at line 45 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::add_volume_load | ( | libMesh::subdomain_id_type | bid, |
MAST::BoundaryConditionBase & | load | ||
) |
adds the specified volume loads for the elements with subdomain tag s_id
Definition at line 93 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::clear_loads | ( | ) |
clear the loads and pointer to static solution system for this structural model
Definition at line 37 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::clear_system_dirichlet_bc | ( | MAST::NonlinearSystem & | sys | ) | const |
clears the system dirichlet boundary conditions
Definition at line 201 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::clear_volume_load | ( | libMesh::subdomain_id_type | sid, |
MAST::BoundaryConditionBase & | load | ||
) |
clear the specified volume load from the applied loads
Definition at line 118 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::constrain_subdomain_dofs_for_var | ( | const libMesh::subdomain_id_type | sid, |
const unsigned int | var | ||
) |
constrain dofs on a subdomain to zero
Definition at line 75 of file physics_discipline_base.cpp.
|
inline |
returns a reference to the libMesh::System object
Definition at line 75 of file physics_discipline_base.h.
const MAST::ElementPropertyCardBase & MAST::PhysicsDisciplineBase::get_property_card | ( | const libMesh::Elem & | elem | ) | const |
get property card for the specified element
Definition at line 161 of file physics_discipline_base.cpp.
const MAST::ElementPropertyCardBase & MAST::PhysicsDisciplineBase::get_property_card | ( | const MAST::GeomElem & | elem | ) | const |
get property card for the specified element
Definition at line 172 of file physics_discipline_base.cpp.
const MAST::ElementPropertyCardBase & MAST::PhysicsDisciplineBase::get_property_card | ( | const unsigned int | sid | ) | const |
get property card for the specified subdomain id i
Definition at line 149 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::get_system_dirichlet_bc_dofs | ( | libMesh::System & | sys, |
std::set< unsigned int > & | dof_ids | ||
) | const |
Prepares a list of the constrained dofs for system sys
and returns in dof_ids
.
Definition at line 216 of file physics_discipline_base.cpp.
void MAST::PhysicsDisciplineBase::init_system_dirichlet_bc | ( | MAST::NonlinearSystem & | sys | ) | const |
initializes the system for dirichlet boundary conditions
Definition at line 185 of file physics_discipline_base.cpp.
|
inline |
Definition at line 151 of file physics_discipline_base.h.
|
inline |
Definition at line 158 of file physics_discipline_base.h.
void MAST::PhysicsDisciplineBase::set_property_for_subdomain | ( | const libMesh::subdomain_id_type | sid, |
const MAST::ElementPropertyCardBase & | prop | ||
) |
sets the same property for all elements in the specified subdomain
Definition at line 137 of file physics_discipline_base.cpp.
|
inline |
Definition at line 107 of file physics_discipline_base.h.
|
inline |
Definition at line 115 of file physics_discipline_base.h.
|
inline |
Definition at line 136 of file physics_discipline_base.h.
|
inline |
Definition at line 143 of file physics_discipline_base.h.
|
protected |
Dirichlet boundary condition map of boundary id and load.
Definition at line 233 of file physics_discipline_base.h.
|
protected |
map of element property cards for each element
Definition at line 223 of file physics_discipline_base.h.
|
protected |
libMesh::System for which analysis is to be performed
Definition at line 218 of file physics_discipline_base.h.
|
protected |
point loads
Definition at line 249 of file physics_discipline_base.h.
|
protected |
side boundary condition map of boundary id and load
Definition at line 228 of file physics_discipline_base.h.
|
protected |
variables constrained on subdomain
Definition at line 239 of file physics_discipline_base.h.
|
protected |
volume boundary condition map of boundary id and load
Definition at line 244 of file physics_discipline_base.h.