Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::PointLoadCondition Class Reference

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.

#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...
void add (MAST::FunctionBase &f)
 adds the function to this card and returns a reference to it. More...
bool contains (const std::string &nm) const
 checks if the card contains the specified property value More...
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the property card depends on the function f 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...

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...

Constructor & Destructor Documentation

◆ PointLoadCondition()

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

Definition at line 26 of file point_load_condition.cpp.

◆ ~PointLoadCondition()

MAST::PointLoadCondition::~PointLoadCondition ( )

Definition at line 36 of file point_load_condition.cpp.

Member Function Documentation

◆ add_node()

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.

◆ get_nodes() [1/2]

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

Definition at line 48 of file point_load_condition.cpp.

◆ get_nodes() [2/2]

std::set< const libMesh::Node * > & MAST::PointLoadCondition::get_nodes ( )
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

◆ _nodes

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

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: