MAST
MAST::PhysicsDisciplineBase Class Reference

#include <physics_discipline_base.h>

Inheritance diagram for MAST::PhysicsDisciplineBase:

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::SideBCMapTypeside_loads () const
 
MAST::SideBCMapTypeside_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::VolumeBCMapTypevolume_loads () const
 
MAST::VolumeBCMapTypevolume_loads ()
 
const MAST::PointLoadSetTypepoint_loads () const
 
MAST::PointLoadSetTypepoint_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::ElementPropertyCardBaseget_property_card (const libMesh::Elem &elem) const
 get property card for the specified element More...
 
const MAST::ElementPropertyCardBaseget_property_card (const MAST::GeomElem &elem) const
 get property card for the specified element More...
 
const MAST::ElementPropertyCardBaseget_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...
 

Detailed Description

Definition at line 56 of file physics_discipline_base.h.

Constructor & Destructor Documentation

MAST::PhysicsDisciplineBase::PhysicsDisciplineBase ( libMesh::EquationSystems &  eq_sys)
inline

Definition at line 61 of file physics_discipline_base.h.

virtual MAST::PhysicsDisciplineBase::~PhysicsDisciplineBase ( )
inlinevirtual

virtual destructor

Definition at line 68 of file physics_discipline_base.h.

Member Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void MAST::PhysicsDisciplineBase::add_point_load ( MAST::PointLoadCondition load)

adds the specified point load

Definition at line 108 of file physics_discipline_base.cpp.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

libMesh::EquationSystems& MAST::PhysicsDisciplineBase::get_equation_systems ( )
inline

returns a reference to the libMesh::System object

Definition at line 75 of file physics_discipline_base.h.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

const MAST::PointLoadSetType& MAST::PhysicsDisciplineBase::point_loads ( ) const
inline
Returns
a const reference to the point load boundary conditions

Definition at line 151 of file physics_discipline_base.h.

Here is the caller graph for this function:

MAST::PointLoadSetType& MAST::PhysicsDisciplineBase::point_loads ( )
inline
Returns
a reference to the point load boundary conditions

Definition at line 158 of file physics_discipline_base.h.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

const MAST::SideBCMapType& MAST::PhysicsDisciplineBase::side_loads ( ) const
inline
Returns
a const reference to the side boundary conditions

Definition at line 107 of file physics_discipline_base.h.

Here is the caller graph for this function:

MAST::SideBCMapType& MAST::PhysicsDisciplineBase::side_loads ( )
inline
Returns
a reference to the side boundary conditions

Definition at line 115 of file physics_discipline_base.h.

Here is the call graph for this function:

const MAST::VolumeBCMapType& MAST::PhysicsDisciplineBase::volume_loads ( ) const
inline
Returns
a const reference to the volume boundary conditions

Definition at line 136 of file physics_discipline_base.h.

Here is the caller graph for this function:

MAST::VolumeBCMapType& MAST::PhysicsDisciplineBase::volume_loads ( )
inline
Returns
a reference to the volume boundary conditions

Definition at line 143 of file physics_discipline_base.h.

Member Data Documentation

MAST::DirichletBCMapType MAST::PhysicsDisciplineBase::_dirichlet_bc_map
protected

Dirichlet boundary condition map of boundary id and load.

Definition at line 233 of file physics_discipline_base.h.

MAST::PropertyCardMapType MAST::PhysicsDisciplineBase::_element_property
protected

map of element property cards for each element

Definition at line 223 of file physics_discipline_base.h.

libMesh::EquationSystems& MAST::PhysicsDisciplineBase::_eq_systems
protected

libMesh::System for which analysis is to be performed

Definition at line 218 of file physics_discipline_base.h.

MAST::PointLoadSetType MAST::PhysicsDisciplineBase::_point_loads
protected

point loads

Definition at line 249 of file physics_discipline_base.h.

MAST::SideBCMapType MAST::PhysicsDisciplineBase::_side_bc_map
protected

side boundary condition map of boundary id and load

Definition at line 228 of file physics_discipline_base.h.

std::map<libMesh::subdomain_id_type, std::vector<unsigned int> > MAST::PhysicsDisciplineBase::_subdomain_var_constraint
protected

variables constrained on subdomain

Definition at line 239 of file physics_discipline_base.h.

MAST::VolumeBCMapType MAST::PhysicsDisciplineBase::_vol_bc_map
protected

volume boundary condition map of boundary id and load

Definition at line 244 of file physics_discipline_base.h.


The documentation for this class was generated from the following files: