Definition at line 29 of file level_set_boundary_velocity.h.
#include <level_set_boundary_velocity.h>
Public Member Functions | |
LevelSetBoundaryVelocity (const unsigned int dim) | |
virtual | ~LevelSetBoundaryVelocity () |
void | attach_level_set_function (const MAST::FieldFunction< Real > &phi) |
attaches the level set function phi with this object. More... | |
void | clear () |
void | clear_level_set_function () |
clears the attached level set function More... | |
virtual void | derivative (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, RealVectorX &v) const |
calculates the value of the derivative of function with respect to the function f at the specified point, p , and time, t , and returns it in v . More... | |
void | init (MAST::SystemInitialization &sys, const MAST::MeshFieldFunction &phi) |
void | normal_at_point (const libMesh::Point &p, const Real t, RealVectorX &n) const |
void | normal_derivative_at_point (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, RealVectorX &n) const |
void | search_nearest_interface_point (const libMesh::Elem &e, const unsigned int side, const libMesh::Point &p, const Real t, RealVectorX &pt) const |
void | search_nearest_interface_point_derivative (const MAST::FunctionBase &f, const libMesh::Elem &e, const unsigned int side, const libMesh::Point &p, const Real t, RealVectorX &v) const |
void | search_nearest_interface_point_derivative_old (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, const Real length, RealVectorX &v) const |
serches for a point pt in the vicinity of p on the level set interface, where level set function is zero. More... | |
void | search_nearest_interface_point_old (const libMesh::Point &p, const Real t, const Real length, RealVectorX &pt, bool allow_sub_search=true) const |
serches for a point pt in the vicinity of p on the level set interface, where level set function is zero. More... | |
void | velocity (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, RealVectorX &v) const |
Public Member Functions inherited from MAST::FieldFunction< RealVectorX > | |
FieldFunction (const std::string &nm) | |
virtual void | derivative (const MAST::FunctionBase &f, RealVectorX &v) const |
calculates the value of the function derivative and returns it in v . More... | |
virtual void | operator() (RealVectorX &v) const |
calculates the value of the function and returns it in v . More... | |
virtual void | operator() (const libMesh::Point &p, const Real t, RealVectorX &v) const |
calculates the value of the function at the specified point, p , and time, t , and returns it in v . More... | |
virtual void | perturbation (RealVectorX &v) const |
calculates the perturbation and returns it in v . More... | |
virtual void | perturbation (const libMesh::Point &p, const Real t, RealVectorX &v) const |
calculates the value of a perturbation in function at the specified point, p , and time, t , and returns it in v . More... | |
Public Member Functions inherited from MAST::FunctionBase | |
FunctionBase (const std::string &nm, const bool is_field_func) | |
initializes the parameter to the given name More... | |
FunctionBase (const MAST::FunctionBase &f) | |
Copy constructor. More... | |
virtual | ~FunctionBase () |
virtual destructor More... | |
virtual bool | depends_on (const MAST::FunctionBase &f) const |
returns true if the function depends on the provided value More... | |
virtual bool | is_shape_parameter () const |
virtual bool | is_topology_parameter () const |
const std::string & | name () const |
returns the name of this function More... | |
virtual void | set_as_shape_parameter (bool f) |
virtual void | set_as_topology_parameter (bool f) |
Protected Member Functions | |
Real | _evaluate_point_search_obj (const libMesh::Point &p, const Real t, const RealVectorX &dv) const |
Protected Attributes | |
unsigned int | _dim |
const MAST::FieldFunction< Real > * | _level_set_func |
libMesh::MeshBase * | _mesh |
const MAST::MeshFieldFunction * | _phi |
Protected Attributes inherited from MAST::FunctionBase | |
std::set< const MAST::FunctionBase * > | _functions |
set of functions that this function depends on More... | |
bool | _is_field_func |
flag to store the nature of field function More... | |
bool | _is_shape_parameter |
bool | _is_topology_parameter |
std::string | _name |
name of this parameter More... | |
MAST::LevelSetBoundaryVelocity::LevelSetBoundaryVelocity | ( | const unsigned int | dim | ) |
Definition at line 27 of file level_set_boundary_velocity.cpp.
|
virtual |
Definition at line 36 of file level_set_boundary_velocity.cpp.
|
protected |
Definition at line 447 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::attach_level_set_function | ( | const MAST::FieldFunction< Real > & | phi | ) |
attaches the level set function phi
with this object.
This is necessary only when the interface point functions are used.
Definition at line 121 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::clear | ( | ) |
Definition at line 54 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::clear_level_set_function | ( | ) |
clears the attached level set function
Definition at line 130 of file level_set_boundary_velocity.cpp.
|
virtual |
calculates the value of the derivative of function with respect to the function f
at the specified point, p
, and time, t
, and returns it in v
.
Reimplemented from MAST::FieldFunction< RealVectorX >.
Definition at line 63 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::init | ( | MAST::SystemInitialization & | sys, |
const MAST::MeshFieldFunction & | phi | ||
) |
Definition at line 42 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::normal_at_point | ( | const libMesh::Point & | p, |
const Real | t, | ||
RealVectorX & | n | ||
) | const |
Definition at line 396 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::normal_derivative_at_point | ( | const MAST::FunctionBase & | f, |
const libMesh::Point & | p, | ||
const Real | t, | ||
RealVectorX & | n | ||
) | const |
Definition at line 418 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::search_nearest_interface_point | ( | const libMesh::Elem & | e, |
const unsigned int | side, | ||
const libMesh::Point & | p, | ||
const Real | t, | ||
RealVectorX & | pt | ||
) | const |
Definition at line 139 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::search_nearest_interface_point_derivative | ( | const MAST::FunctionBase & | f, |
const libMesh::Elem & | e, | ||
const unsigned int | side, | ||
const libMesh::Point & | p, | ||
const Real | t, | ||
RealVectorX & | v | ||
) | const |
Definition at line 171 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::search_nearest_interface_point_derivative_old | ( | const MAST::FunctionBase & | f, |
const libMesh::Point & | p, | ||
const Real | t, | ||
const Real | length, | ||
RealVectorX & | v | ||
) | const |
serches for a point pt
in the vicinity of p
on the level set interface, where level set function is zero.
length
is a reference length that is used to identify the step-size for the search. If the interface point is expected to be within a few elements, then this length coudl be the element edge length.
Definition at line 371 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::search_nearest_interface_point_old | ( | const libMesh::Point & | p, |
const Real | t, | ||
const Real | length, | ||
RealVectorX & | pt, | ||
bool | allow_sub_search = true |
||
) | const |
serches for a point pt
in the vicinity of p
on the level set interface, where level set function is zero.
length
is a reference length that is used to identify the step-size for the search. If the interface point is expected to be within a few elements, then this length coudl be the element edge length.
Definition at line 198 of file level_set_boundary_velocity.cpp.
void MAST::LevelSetBoundaryVelocity::velocity | ( | const MAST::FunctionBase & | f, |
const libMesh::Point & | p, | ||
const Real | t, | ||
RealVectorX & | v | ||
) | const |
Definition at line 72 of file level_set_boundary_velocity.cpp.
|
protected |
Definition at line 118 of file level_set_boundary_velocity.h.
|
protected |
Definition at line 121 of file level_set_boundary_velocity.h.
|
protected |
Definition at line 120 of file level_set_boundary_velocity.h.
|
protected |
Definition at line 119 of file level_set_boundary_velocity.h.