MAST
MAST::IndicatorFunctionConstrainDofs Class Reference

Constrains the dofs based on level set function and indicator function. More...

#include <indicator_function_constrain_dofs.h>

Inheritance diagram for MAST::IndicatorFunctionConstrainDofs:
Collaboration diagram for MAST::IndicatorFunctionConstrainDofs:

Public Member Functions

 IndicatorFunctionConstrainDofs (MAST::SystemInitialization &sys, MAST::FieldFunction< Real > &level_set, MAST::FieldFunction< RealVectorX > &indicator)
 
virtual ~IndicatorFunctionConstrainDofs ()
 
virtual void constrain ()
 provides implementation of the libMesh::System::Constraint::constrain() virtual method More...
 
- Public Member Functions inherited from MAST::LevelSetConstrainDofs
 LevelSetConstrainDofs (MAST::SystemInitialization &sys, MAST::FieldFunction< Real > &level_set)
 
virtual ~LevelSetConstrainDofs ()
 
void constrain_all_negative_indices (bool f)
 if set to true, then if the element has a node on negative side of the level set, we will constrain all dofs of the node to be zero. More...
 
MAST::LevelSetIntersectionget_intersection ()
 

Protected Attributes

MAST::FieldFunction< RealVectorX > & _indicator
 
- Protected Attributes inherited from MAST::LevelSetConstrainDofs
bool _constrain_all_negative_indices
 
MAST::SystemInitialization_sys
 
MAST::FieldFunction< Real > & _level_set
 
MAST::LevelSetIntersection_intersection
 

Detailed Description

Constrains the dofs based on level set function and indicator function.

Any dofs that are completely on the negative side are constrained. Additionally, any dofs that belong to elements with zero function value are constrained.

Definition at line 43 of file indicator_function_constrain_dofs.h.

Constructor & Destructor Documentation

MAST::IndicatorFunctionConstrainDofs::IndicatorFunctionConstrainDofs ( MAST::SystemInitialization sys,
MAST::FieldFunction< Real > &  level_set,
MAST::FieldFunction< RealVectorX > &  indicator 
)

Definition at line 34 of file indicator_function_constrain_dofs.cpp.

MAST::IndicatorFunctionConstrainDofs::~IndicatorFunctionConstrainDofs ( )
virtual

Definition at line 44 of file indicator_function_constrain_dofs.cpp.

Member Function Documentation

void MAST::IndicatorFunctionConstrainDofs::constrain ( )
virtual

provides implementation of the libMesh::System::Constraint::constrain() virtual method

Reimplemented from MAST::LevelSetConstrainDofs.

Definition at line 51 of file indicator_function_constrain_dofs.cpp.

Here is the call graph for this function:

Member Data Documentation

MAST::FieldFunction<RealVectorX>& MAST::IndicatorFunctionConstrainDofs::_indicator
protected

Definition at line 64 of file indicator_function_constrain_dofs.h.


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