MAST
|
A patch is defines as the set of elements sharing a node. More...
#include <material_patch.h>
Public Member Functions | |
MaterialPatch () | |
virtual | ~MaterialPatch () |
void | init (const libMesh::Elem &elem, const libMesh::Node &node, const MAST::FieldFunction< Real > &phi, const Real t) |
initialize the patch around node of elem . More... | |
void | clear () |
const std::set< const libMesh::Elem * > & | get_elems_to_factor () const |
Protected Member Functions | |
bool | _quad4_material_levels (const libMesh::Elem &elem, const libMesh::Node &node, const std::set< const libMesh::Elem * > &elem_neighbors, const MAST::FieldFunction< Real > &phi, const Real t) |
Protected Attributes | |
bool | _initialized |
std::set< const libMesh::Elem * > | _elems_to_factor |
A patch is defines as the set of elements sharing a node.
This class looks through the connectivity of the node with negative level set function value and identifies if material domains are connected to it. More importantly, it identifies if the material domains are continuous across the patch. If not, the number of noncontinuous domains are identified along with the nodes that belong to each level.
Definition at line 48 of file material_patch.h.
MAST::MaterialPatch::MaterialPatch | ( | ) |
Definition at line 25 of file material_patch.cpp.
|
virtual |
Definition at line 31 of file material_patch.cpp.
|
protected |
void MAST::MaterialPatch::clear | ( | ) |
Definition at line 92 of file material_patch.cpp.
|
inline |
Definition at line 66 of file material_patch.h.
void MAST::MaterialPatch::init | ( | const libMesh::Elem & | elem, |
const libMesh::Node & | node, | ||
const MAST::FieldFunction< Real > & | phi, | ||
const Real | t | ||
) |
initialize the patch around node
of elem
.
Definition at line 37 of file material_patch.cpp.
|
protected |
Definition at line 84 of file material_patch.h.
|
protected |
Definition at line 82 of file material_patch.h.