MAST
MAST::DirichletBoundaryCondition Class Reference

#include <dirichlet_boundary_condition.h>

Inheritance diagram for MAST::DirichletBoundaryCondition:
Collaboration diagram for MAST::DirichletBoundaryCondition:

Public Member Functions

 DirichletBoundaryCondition ()
 
virtual ~DirichletBoundaryCondition ()
 
void init (const libMesh::boundary_id_type bid, const std::vector< unsigned int > &constrained_vars)
 initializes the object for the specified domain id (either boundary, or subdomain), for the displacement components initialized using a bitwise operator. More...
 
libMesh::DirichletBoundary & dirichlet_boundary ()
 
- Public Member Functions inherited from MAST::BoundaryConditionBase
 BoundaryConditionBase (MAST::BoundaryConditionType t)
 
virtual ~BoundaryConditionBase ()
 
MAST::BoundaryConditionType type () const
 
- Public Member Functions inherited from MAST::FunctionSetBase
 FunctionSetBase ()
 
virtual ~FunctionSetBase ()
 destructor deletes the function pointers More...
 
bool contains (const std::string &nm) const
 checks if the card contains the specified property value More...
 
void add (MAST::FunctionBase &f)
 adds the function to this card and returns a reference to it. More...
 
template<typename ValType >
const ValType & get (const std::string &nm) const
 returns a constant reference to the specified function More...
 
template<typename ValType >
ValType & get (const std::string &nm)
 returns a writable reference to the specified function More...
 
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the property card depends on the function f More...
 

Protected Attributes

std::unique_ptr< libMesh::DirichletBoundary > _dirichlet_boundary
 Dirichlet boundary function for this boundary. More...
 
- Protected Attributes inherited from MAST::BoundaryConditionBase
MAST::BoundaryConditionType _bc_type
 
- Protected Attributes inherited from MAST::FunctionSetBase
std::map< std::string, MAST::FunctionBase * > _properties
 map of the functions in this card More...
 

Detailed Description

Definition at line 41 of file dirichlet_boundary_condition.h.

Constructor & Destructor Documentation

MAST::DirichletBoundaryCondition::DirichletBoundaryCondition ( )
inline

Definition at line 45 of file dirichlet_boundary_condition.h.

virtual MAST::DirichletBoundaryCondition::~DirichletBoundaryCondition ( )
inlinevirtual

Definition at line 49 of file dirichlet_boundary_condition.h.

Here is the call graph for this function:

Member Function Documentation

libMesh::DirichletBoundary& MAST::DirichletBoundaryCondition::dirichlet_boundary ( )
inline
Returns
reference to the Dirichlet boundary condition object

Definition at line 64 of file dirichlet_boundary_condition.h.

void MAST::DirichletBoundaryCondition::init ( const libMesh::boundary_id_type  bid,
const std::vector< unsigned int > &  constrained_vars 
)

initializes the object for the specified domain id (either boundary, or subdomain), for the displacement components initialized using a bitwise operator.

This method initializes the components to zero value on the domain.

Definition at line 29 of file dirichlet_boundary_condition.cpp.

Here is the caller graph for this function:

Member Data Documentation

std::unique_ptr<libMesh::DirichletBoundary> MAST::DirichletBoundaryCondition::_dirichlet_boundary
protected

Dirichlet boundary function for this boundary.

Definition at line 73 of file dirichlet_boundary_condition.h.


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