MAST
MAST::MaterialPatch Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

MAST::MaterialPatch::MaterialPatch ( )

Definition at line 25 of file material_patch.cpp.

MAST::MaterialPatch::~MaterialPatch ( )
virtual

Definition at line 31 of file material_patch.cpp.

Member Function Documentation

bool MAST::MaterialPatch::_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

Definition at line 100 of file material_patch.cpp.

Here is the caller graph for this function:

void MAST::MaterialPatch::clear ( )

Definition at line 92 of file material_patch.cpp.

const std::set<const libMesh::Elem*>& MAST::MaterialPatch::get_elems_to_factor ( ) const
inline

Definition at line 66 of file material_patch.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::set<const libMesh::Elem*> MAST::MaterialPatch::_elems_to_factor
protected

Definition at line 84 of file material_patch.h.

bool MAST::MaterialPatch::_initialized
protected

Definition at line 82 of file material_patch.h.


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