MAST
MAST::LevelSetConstrainDofs Class Reference

constrains the dofs based on level set function. More...

#include <level_set_constrain_dofs.h>

Inheritance diagram for MAST::LevelSetConstrainDofs:
Collaboration diagram for MAST::LevelSetConstrainDofs:

Public Member Functions

 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 ()
 
virtual void constrain ()
 provides implementation of the libMesh::System::Constraint::constrain() virtual method More...
 

Protected Attributes

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.

Any dofs that are completely on the negative side are constrained.

Definition at line 41 of file level_set_constrain_dofs.h.

Constructor & Destructor Documentation

MAST::LevelSetConstrainDofs::LevelSetConstrainDofs ( MAST::SystemInitialization sys,
MAST::FieldFunction< Real > &  level_set 
)

Definition at line 34 of file level_set_constrain_dofs.cpp.

MAST::LevelSetConstrainDofs::~LevelSetConstrainDofs ( )
virtual

Definition at line 46 of file level_set_constrain_dofs.cpp.

Member Function Documentation

void MAST::LevelSetConstrainDofs::constrain ( )
virtual

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

Reimplemented in MAST::IndicatorFunctionConstrainDofs.

Definition at line 61 of file level_set_constrain_dofs.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void MAST::LevelSetConstrainDofs::constrain_all_negative_indices ( bool  f)
inline

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.

If false, then nodes will be constrained only if they get no contribution from elements with a positive level set region.

Definition at line 60 of file level_set_constrain_dofs.h.

Here is the call graph for this function:

MAST::LevelSetIntersection & MAST::LevelSetConstrainDofs::get_intersection ( )
Returns
a reference to the level set function

Definition at line 53 of file level_set_constrain_dofs.cpp.

Here is the caller graph for this function:

Member Data Documentation

bool MAST::LevelSetConstrainDofs::_constrain_all_negative_indices
protected

Definition at line 79 of file level_set_constrain_dofs.h.

MAST::LevelSetIntersection* MAST::LevelSetConstrainDofs::_intersection
protected

Definition at line 85 of file level_set_constrain_dofs.h.

MAST::FieldFunction<Real>& MAST::LevelSetConstrainDofs::_level_set
protected

Definition at line 83 of file level_set_constrain_dofs.h.

MAST::SystemInitialization& MAST::LevelSetConstrainDofs::_sys
protected

Definition at line 81 of file level_set_constrain_dofs.h.


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