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

Detailed Description

Definition at line 34 of file level_set_discipline.h.

#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...
 
const MAST::FieldFunction< Real > & get_velocity_function () const
 
bool has_velocity_function () const
 
bool if_level_set_propagation () 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...
 
void set_velocity_function (const MAST::FieldFunction< Real > &vel)
 sets the level set function normal velocity field More...
 
- Public Member Functions inherited from MAST::PhysicsDisciplineBase
 PhysicsDisciplineBase (libMesh::EquationSystems &eq_sys)
 
virtual ~PhysicsDisciplineBase ()
 virtual destructor 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...
 
void add_point_load (MAST::PointLoadCondition &load)
 adds the specified point load 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_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 clear_loads ()
 clear the loads and pointer to static solution system for this structural model More...
 
void clear_system_dirichlet_bc (MAST::NonlinearSystem &sys) const
 clears the system dirichlet boundary conditions More...
 
void clear_volume_load (libMesh::subdomain_id_type sid, MAST::BoundaryConditionBase &load)
 clear the specified volume load from the applied loads More...
 
void constrain_subdomain_dofs_for_var (const libMesh::subdomain_id_type sid, const unsigned int var)
 constrain dofs on a subdomain to zero More...
 
libMesh::EquationSystems & get_equation_systems ()
 returns a reference to the libMesh::System object 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...
 
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 init_system_dirichlet_bc (MAST::NonlinearSystem &sys) const
 initializes the system for dirichlet boundary conditions More...
 
const MAST::PointLoadSetTypepoint_loads () const
 
MAST::PointLoadSetTypepoint_loads ()
 
void remove_side_load (libMesh::boundary_id_type bid, MAST::BoundaryConditionBase &load)
 remove the specified side loads for the boudnary with tag b_id More...
 
void remove_volume_load (libMesh::subdomain_id_type bid, MAST::BoundaryConditionBase &load)
 remove the specified volume loads for the elements with subdomain tag s_id 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::SideBCMapTypeside_loads () const
 
MAST::SideBCMapTypeside_loads ()
 
const MAST::VolumeBCMapTypevolume_loads () const
 
MAST::VolumeBCMapTypevolume_loads ()
 

Protected Attributes

bool _if_level_set_propagation
 
const MAST::FieldFunction< Real > * _vel
 
- Protected Attributes inherited from MAST::PhysicsDisciplineBase
MAST::DirichletBCMapType _dirichlet_bc_map
 Dirichlet boundary condition map of boundary id and load. More...
 
MAST::PropertyCardMapType _element_property
 map of element property cards for each element More...
 
libMesh::EquationSystems & _eq_systems
 libMesh::System for which analysis is to be performed More...
 
MAST::PointLoadSetType _point_loads
 point loads More...
 
MAST::SideBCMapType _side_bc_map
 side 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...
 

Constructor & Destructor Documentation

◆ LevelSetDiscipline()

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

Definition at line 28 of file level_set_discipline.cpp.

◆ ~LevelSetDiscipline()

MAST::LevelSetDiscipline::~LevelSetDiscipline ( )
virtual

virtual destructor

Definition at line 36 of file level_set_discipline.cpp.

Member Function Documentation

◆ get_velocity_function()

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.

◆ has_velocity_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.

◆ if_level_set_propagation()

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

Definition at line 90 of file level_set_discipline.h.

◆ set_level_set_propagation_mode()

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.

◆ set_velocity_function()

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

◆ _if_level_set_propagation

bool MAST::LevelSetDiscipline::_if_level_set_propagation
protected

Definition at line 100 of file level_set_discipline.h.

◆ _vel

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: