MAST
|
constrains the dofs based on level set function. More...
#include <level_set_constrain_dofs.h>
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::LevelSetIntersection & | get_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 |
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.
MAST::LevelSetConstrainDofs::LevelSetConstrainDofs | ( | MAST::SystemInitialization & | sys, |
MAST::FieldFunction< Real > & | level_set | ||
) |
Definition at line 34 of file level_set_constrain_dofs.cpp.
|
virtual |
Definition at line 46 of file level_set_constrain_dofs.cpp.
|
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.
|
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.
MAST::LevelSetIntersection & MAST::LevelSetConstrainDofs::get_intersection | ( | ) |
Definition at line 53 of file level_set_constrain_dofs.cpp.
|
protected |
Definition at line 79 of file level_set_constrain_dofs.h.
|
protected |
Definition at line 85 of file level_set_constrain_dofs.h.
|
protected |
Definition at line 83 of file level_set_constrain_dofs.h.
|
protected |
Definition at line 81 of file level_set_constrain_dofs.h.