Definition at line 37 of file homogenized_density_function_base.h.
#include <homogenized_density_function_base.h>
Public Member Functions | |
HomogenizedDensityFunctionBase (const std::string &nm) | |
virtual | ~HomogenizedDensityFunctionBase () |
virtual void | clear_element_volume_fraction_sensitivity () |
virtual void | clear_element_volume_fractions () |
virtual bool | depends_on (const MAST::FunctionBase &f) const |
returns true if the function depends on the provided value More... | |
virtual void | derivative (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, Real &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... | |
Real | get_elem_volume_fraction (const libMesh::Elem &e) const |
const std::map< const libMesh::Elem *, Real > & | get_elem_volume_fraction_map () const |
Real | get_elem_volume_fraction_sensitivity (const MAST::FunctionBase &f, const libMesh::Elem &e) const |
const std::map< const libMesh::Elem *, Real > * | get_elem_volume_fraction_sensitivity_map (const MAST::FunctionBase &f) const |
virtual void | init (MAST::SystemInitialization &level_set_sys, libMesh::MeshBase &analysis_mesh, MAST::FieldFunction< Real > &level_set, MAST::FilterBase &filter) |
virtual void | initialize_element_volume_fraction_sensitivity (const MAST::FunctionBase &f)=0 |
virtual void | initialize_element_volume_fractions ()=0 |
virtual void | operator() (const libMesh::Point &p, const Real t, Real &v) const |
calculates the value of the function at the specified point, p , and time, t , and returns it in v . More... | |
Public Member Functions inherited from MAST::FieldFunction< Real > | |
FieldFunction (const std::string &nm) | |
virtual void | derivative (const MAST::FunctionBase &f, Real &v) const |
calculates the value of the function derivative and returns it in v . More... | |
virtual void | operator() (Real &v) const |
calculates the value of the function and returns it in v . More... | |
virtual void | perturbation (Real &v) const |
calculates the perturbation and returns it in v . More... | |
virtual void | perturbation (const libMesh::Point &p, const Real t, Real &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 | 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 Attributes | |
libMesh::MeshBase * | _analysis_mesh |
std::map< const libMesh::Elem *, Real > | _elem_volume_fraction |
std::map< const MAST::FunctionBase *, std::map< const libMesh::Elem *, Real > > | _elem_volume_fraction_sensitivity |
MAST::FilterBase * | _filter |
MAST::FieldFunction< Real > * | _level_set |
MAST::SystemInitialization * | _level_set_sys |
std::unique_ptr< libMesh::PointLocatorBase > | _sub_point_locator |
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::HomogenizedDensityFunctionBase::HomogenizedDensityFunctionBase | ( | const std::string & | nm | ) |
Definition at line 27 of file homogenized_density_function_base.cpp.
|
virtual |
Definition at line 38 of file homogenized_density_function_base.cpp.
|
inlinevirtual |
Definition at line 80 of file homogenized_density_function_base.h.
|
inlinevirtual |
Definition at line 77 of file homogenized_density_function_base.h.
|
inlinevirtual |
returns true if the function depends on the provided value
Reimplemented from MAST::FunctionBase.
Definition at line 51 of file homogenized_density_function_base.h.
|
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< Real >.
Definition at line 84 of file homogenized_density_function_base.cpp.
Real MAST::HomogenizedDensityFunctionBase::get_elem_volume_fraction | ( | const libMesh::Elem & | e | ) | const |
Definition at line 102 of file homogenized_density_function_base.cpp.
|
inline |
Definition at line 59 of file homogenized_density_function_base.h.
Real MAST::HomogenizedDensityFunctionBase::get_elem_volume_fraction_sensitivity | ( | const MAST::FunctionBase & | f, |
const libMesh::Elem & | e | ||
) | const |
Definition at line 116 of file homogenized_density_function_base.cpp.
const std::map< const libMesh::Elem *, Real > * MAST::HomogenizedDensityFunctionBase::get_elem_volume_fraction_sensitivity_map | ( | const MAST::FunctionBase & | f | ) | const |
Definition at line 135 of file homogenized_density_function_base.cpp.
|
virtual |
Definition at line 44 of file homogenized_density_function_base.cpp.
|
pure virtual |
|
pure virtual |
|
virtual |
calculates the value of the function at the specified point, p
, and time, t
, and returns it in v
.
Reimplemented from MAST::FieldFunction< Real >.
Definition at line 61 of file homogenized_density_function_base.cpp.
|
protected |
Definition at line 86 of file homogenized_density_function_base.h.
|
protected |
Definition at line 92 of file homogenized_density_function_base.h.
|
protected |
Definition at line 95 of file homogenized_density_function_base.h.
|
protected |
Definition at line 90 of file homogenized_density_function_base.h.
|
protected |
Definition at line 88 of file homogenized_density_function_base.h.
|
protected |
Definition at line 84 of file homogenized_density_function_base.h.
|
protected |
Definition at line 97 of file homogenized_density_function_base.h.