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

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.

#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::FieldFunction< Real > & _level_set

Constructor & Destructor Documentation

◆ IndicatorFunctionConstrainDofs()

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.

◆ ~IndicatorFunctionConstrainDofs()

MAST::IndicatorFunctionConstrainDofs::~IndicatorFunctionConstrainDofs ( )

Definition at line 44 of file indicator_function_constrain_dofs.cpp.

Member Function Documentation

◆ constrain()

void MAST::IndicatorFunctionConstrainDofs::constrain ( )

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.

Member Data Documentation

◆ _indicator

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

Definition at line 64 of file indicator_function_constrain_dofs.h.

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