MAST
MAST::LevelSetDiscipline Class Reference

#include <level_set_discipline.h>

Inheritance diagram for MAST::LevelSetDiscipline:
Collaboration diagram for MAST::LevelSetDiscipline:

Public Member Functions

 LevelSetDiscipline (libMesh::EquationSystems &eq_sys)
 
virtual ~LevelSetDiscipline ()
 virtual destructor More...
 
void set_velocity_function (const MAST::FieldFunction< Real > &vel)
 sets the level set function normal velocity field More...
 
bool has_velocity_function () const
 
const MAST::FieldFunction< Real > & get_velocity_function () const
 
void set_level_set_propagation_mode (bool f)
 If true, then the level set will be propagated using the velocity specified by the velocity object in the constructor. More...
 
bool if_level_set_propagation () const
 
- Public Member Functions inherited from MAST::PhysicsDisciplineBase
 PhysicsDisciplineBase (libMesh::EquationSystems &eq_sys)
 
virtual ~PhysicsDisciplineBase ()
 virtual destructor More...
 
libMesh::EquationSystems & get_equation_systems ()
 returns a reference to the libMesh::System object More...
 
void clear_loads ()
 clear the loads and pointer to static solution system for this structural model More...
 
void clear_volume_load (libMesh::subdomain_id_type sid, MAST::BoundaryConditionBase &load)
 clear the specified volume load from the applied loads More...
 
void add_side_load (libMesh::boundary_id_type bid, MAST::BoundaryConditionBase &load)
 adds the specified side loads for the boudnary with tag b_id More...
 
void add_dirichlet_bc (libMesh::boundary_id_type bid, MAST::DirichletBoundaryCondition &load)
 adds the specified Dirichlet boundary condition for the boundary with tag b_id More...
 
const MAST::SideBCMapTypeside_loads () const
 
MAST::SideBCMapTypeside_loads ()
 
void add_volume_load (libMesh::subdomain_id_type bid, MAST::BoundaryConditionBase &load)
 adds the specified volume loads for the elements with subdomain tag s_id More...
 
void add_point_load (MAST::PointLoadCondition &load)
 adds the specified point load More...
 
const MAST::VolumeBCMapTypevolume_loads () const
 
MAST::VolumeBCMapTypevolume_loads ()
 
const MAST::PointLoadSetTypepoint_loads () const
 
MAST::PointLoadSetTypepoint_loads ()
 
void constrain_subdomain_dofs_for_var (const libMesh::subdomain_id_type sid, const unsigned int var)
 constrain dofs on a subdomain to zero More...
 
void init_system_dirichlet_bc (MAST::NonlinearSystem &sys) const
 initializes the system for dirichlet boundary conditions More...
 
void clear_system_dirichlet_bc (MAST::NonlinearSystem &sys) const
 clears the system dirichlet boundary conditions More...
 
void get_system_dirichlet_bc_dofs (libMesh::System &sys, std::set< unsigned int > &dof_ids) const
 Prepares a list of the constrained dofs for system sys and returns in dof_ids. More...
 
void set_property_for_subdomain (const libMesh::subdomain_id_type sid, const MAST::ElementPropertyCardBase &prop)
 sets the same property for all elements in the specified subdomain More...
 
const MAST::ElementPropertyCardBaseget_property_card (const libMesh::Elem &elem) const
 get property card for the specified element More...
 
const MAST::ElementPropertyCardBaseget_property_card (const MAST::GeomElem &elem) const
 get property card for the specified element More...
 
const MAST::ElementPropertyCardBaseget_property_card (const unsigned int sid) const
 get property card for the specified subdomain id i More...
 

Protected Attributes

const MAST::FieldFunction< Real > * _vel
 
bool _if_level_set_propagation
 
- Protected Attributes inherited from MAST::PhysicsDisciplineBase
libMesh::EquationSystems & _eq_systems
 libMesh::System for which analysis is to be performed More...
 
MAST::PropertyCardMapType _element_property
 map of element property cards for each element More...
 
MAST::SideBCMapType _side_bc_map
 side boundary condition map of boundary id and load More...
 
MAST::DirichletBCMapType _dirichlet_bc_map
 Dirichlet boundary condition map of boundary id and load. More...
 
std::map< libMesh::subdomain_id_type, std::vector< unsigned int > > _subdomain_var_constraint
 variables constrained on subdomain More...
 
MAST::VolumeBCMapType _vol_bc_map
 volume boundary condition map of boundary id and load More...
 
MAST::PointLoadSetType _point_loads
 point loads More...
 

Detailed Description

Definition at line 34 of file level_set_discipline.h.

Constructor & Destructor Documentation

MAST::LevelSetDiscipline::LevelSetDiscipline ( libMesh::EquationSystems &  eq_sys)

Definition at line 28 of file level_set_discipline.cpp.

MAST::LevelSetDiscipline::~LevelSetDiscipline ( )
virtual

virtual destructor

Definition at line 36 of file level_set_discipline.cpp.

Member Function Documentation

const MAST::FieldFunction<Real>& MAST::LevelSetDiscipline::get_velocity_function ( ) const
inline
Returns
a reference to the velocity function for this level set

Definition at line 74 of file level_set_discipline.h.

Here is the caller graph for this function:

bool MAST::LevelSetDiscipline::has_velocity_function ( ) const
inline
Returns
true if the velocity function has been set for this discipline

Definition at line 65 of file level_set_discipline.h.

Here is the caller graph for this function:

bool MAST::LevelSetDiscipline::if_level_set_propagation ( ) const
inline

Definition at line 90 of file level_set_discipline.h.

Here is the caller graph for this function:

void MAST::LevelSetDiscipline::set_level_set_propagation_mode ( bool  f)
inline

If true, then the level set will be propagated using the velocity specified by the velocity object in the constructor.

Otherwise, the level set will be reinitialized for $ |\nabla(\phi)| = 1 $.

Definition at line 85 of file level_set_discipline.h.

void MAST::LevelSetDiscipline::set_velocity_function ( const MAST::FieldFunction< Real > &  vel)
inline

sets the level set function normal velocity field

Definition at line 54 of file level_set_discipline.h.

Member Data Documentation

bool MAST::LevelSetDiscipline::_if_level_set_propagation
protected

Definition at line 100 of file level_set_discipline.h.

const MAST::FieldFunction<Real>* MAST::LevelSetDiscipline::_vel
protected

Definition at line 98 of file level_set_discipline.h.


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