MAST
MAST::PointLoadCondition Class Reference

This class allows for the specification of load associated with specified nodes in a user-provided set. More...

#include <point_load_condition.h>

Inheritance diagram for MAST::PointLoadCondition:
Collaboration diagram for MAST::PointLoadCondition:

Public Member Functions

 PointLoadCondition (MAST::BoundaryConditionType t)
 
virtual ~PointLoadCondition ()
 
void add_node (const libMesh::Node &nd)
 adds the node on which this object defines a point load More...
 
const std::set< const libMesh::Node * > & get_nodes () const
 
std::set< const libMesh::Node * > & get_nodes ()
 
- 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::set< const libMesh::Node * > _nodes
 set of nodes on which load is specified 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

This class allows for the specification of load associated with specified nodes in a user-provided set.

The user is responsible for maintaining consistency of the nodes during mesh-refinement.

Definition at line 39 of file point_load_condition.h.

Constructor & Destructor Documentation

MAST::PointLoadCondition::PointLoadCondition ( MAST::BoundaryConditionType  t)

Definition at line 26 of file point_load_condition.cpp.

MAST::PointLoadCondition::~PointLoadCondition ( )
virtual

Definition at line 36 of file point_load_condition.cpp.

Member Function Documentation

void MAST::PointLoadCondition::add_node ( const libMesh::Node &  nd)

adds the node on which this object defines a point load

Definition at line 41 of file point_load_condition.cpp.

const std::set< const libMesh::Node * > & MAST::PointLoadCondition::get_nodes ( ) const
Returns
the set of nodes on which the load is specified as a constant reference

Definition at line 48 of file point_load_condition.cpp.

std::set< const libMesh::Node * > & MAST::PointLoadCondition::get_nodes ( )
Returns
the set of nodes on which the load is specified as a writable reference

Definition at line 55 of file point_load_condition.cpp.

Member Data Documentation

std::set<const libMesh::Node*> MAST::PointLoadCondition::_nodes
protected

set of nodes on which load is specified

Definition at line 74 of file point_load_condition.h.


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