MAST
MAST::FieldFunction< ValType > Class Template Reference

This creates the base class for functions that have a saptial and temporal dependence, and provide sensitivity operations with respect to the functions and parameters. More...

#include <eigenproblem_assembly_elem_operations.h>

Inheritance diagram for MAST::FieldFunction< ValType >:
Collaboration diagram for MAST::FieldFunction< ValType >:

Public Member Functions

 FieldFunction (const std::string &nm)
 
virtual void operator() (ValType &v) const
 calculates the value of the function and returns it in v. More...
 
virtual void perturbation (ValType &v) const
 calculates the perturbation and returns it in v. More...
 
virtual void derivative (const MAST::FunctionBase &f, ValType &v) const
 calculates the value of the function derivative and returns it in v. More...
 
virtual void operator() (const libMesh::Point &p, const Real t, ValType &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 (const libMesh::Point &p, const Real t, ValType &v) const
 calculates the value of a perturbation in function at the specified point, p, and time, t, and returns it in v. More...
 
virtual void derivative (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, ValType &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...
 
- 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...
 
const std::string & name () const
 returns the name of this function 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 void set_as_shape_parameter (bool f)
 
virtual bool is_topology_parameter () const
 
virtual void set_as_topology_parameter (bool f)
 

Additional Inherited Members

- Protected Attributes inherited from MAST::FunctionBase
std::string _name
 name of this parameter More...
 
bool _is_field_func
 flag to store the nature of field function More...
 
bool _is_shape_parameter
 
bool _is_topology_parameter
 
std::set< const MAST::FunctionBase * > _functions
 set of functions that this function depends on More...
 

Detailed Description

template<typename ValType>
class MAST::FieldFunction< ValType >

This creates the base class for functions that have a saptial and temporal dependence, and provide sensitivity operations with respect to the functions and parameters.

The field-function can provide the following:

  • function value,
  • small perturbations to support linearized analyses,
  • sensitivity with respect to a specified function.

Definition at line 31 of file eigenproblem_assembly_elem_operations.h.

Constructor & Destructor Documentation

template<typename ValType>
MAST::FieldFunction< ValType >::FieldFunction ( const std::string &  nm)
inline

Definition at line 51 of file field_function_base.h.

Member Function Documentation

template<typename ValType>
virtual void MAST::FieldFunction< ValType >::derivative ( const MAST::FunctionBase f,
ValType &  v 
) const
inlinevirtual

calculates the value of the function derivative and returns it in v.

Reimplemented in MAST::FrequencyFunction, and MAST::ConstantFieldFunction.

Definition at line 78 of file field_function_base.h.

template<typename ValType>
virtual void MAST::FieldFunction< ValType >::derivative ( const MAST::FunctionBase f,
const libMesh::Point &  p,
const Real  t,
ValType &  v 
) const
inlinevirtual

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 in MAST::Solid1DSectionProperty::ThermalCapacitanceMatrix, MAST::Solid1DSectionProperty::ThermalConductanceMatrix, MAST::Solid1DSectionProperty::PrestressBMatrix, MAST::Solid1DSectionProperty::PrestressAMatrix, MAST::Solid1DSectionProperty::ThermalExpansionBMatrix, MAST::Solid1DSectionProperty::ThermalExpansionAMatrix, MAST::Solid1DSectionProperty::InertiaMatrix, MAST::Solid1DSectionProperty::TransverseStiffnessMatrix, MAST::Solid1DSectionProperty::BendingStiffnessMatrix, MAST::Solid1DSectionProperty::ExtensionBendingStiffnessMatrix, MAST::Solid1DSectionProperty::ExtensionStiffnessMatrix, MAST::Solid1DSectionProperty::AreaInertiaMatrix, MAST::Solid2DSectionProperty::ThermalCapacitanceMatrix, MAST::OrthotropicMaterialProperty::ThermalCapacitanceMatrix, MAST::Solid2DSectionProperty::ThermalConductanceMatrix, MAST::Solid1DSectionProperty::AreaZMoment, MAST::Solid2DSectionProperty::PrestressBMatrix, MAST::OrthotropicMaterialProperty::ThermalConductanceMatrix, MAST::Solid2DSectionProperty::PrestressAMatrix, MAST::IsotropicMaterialProperty::ThermalCapacitanceMatrix, MAST::Solid1DSectionProperty::AreaYMoment, MAST::Solid2DSectionProperty::ThermalExpansionBMatrix, MAST::OrthotropicMaterialProperty::ThermalExpansionMatrix, MAST::IsotropicMaterialProperty::ThermalConductanceMatrix, MAST::Solid2DSectionProperty::ThermalExpansionAMatrix, MAST::OrthotropicProperty3D::ThermalCapacitanceMatrix, MAST::IsotropicMaterialProperty::ThermalExpansionMatrix, MAST::Solid1DSectionProperty::PolarInertia, MAST::IsotropicElementProperty3D::ThermalCapacitanceMatrix, MAST::Solid2DSectionProperty::InertiaMatrix, MAST::OrthotropicMaterialProperty::InertiaMatrix3D, MAST::OrthotropicProperty3D::ThermalConductanceMatrix, MAST::PistonTheoryPressureXdotDerivative, MAST::IsotropicMaterialProperty::InertiaMatrix3D, MAST::IsotropicElementProperty3D::ThermalConductanceMatrix, MAST::Multilayer1DSectionProperty::Matrix, MAST::Multilayer2DSectionProperty::Matrix, MAST::OrthotropicMaterialProperty::StiffnessMatrix3D, MAST::Solid2DSectionProperty::TransverseStiffnessMatrix, MAST::OrthotropicProperty3D::PrestressAMatrix, MAST::IsotropicMaterialProperty::StiffnessMatrix3D, MAST::IsotropicElementProperty3D::PrestressAMatrix, MAST::Solid1DSectionProperty::TorsionalConstant, MAST::PistonTheoryPressureXDerivative, MAST::MeshFieldFunction, MAST::IsotropicMaterialProperty::StiffnessMatrix2D, MAST::OrthotropicMaterialProperty::StiffnessMatrix2D, MAST::OrthotropicProperty3D::ThermalExpansionMatrix, MAST::Solid2DSectionProperty::BendingStiffnessMatrix, MAST::IsotropicElementProperty3D::ThermalExpansionMatrix, MAST::ConstantFieldFunction, MAST::Multilayer2DSectionProperty::LayerOffset, MAST::Multilayer1DSectionProperty::LayerOffset, MAST::OrthotropicProperty3D::InertiaMatrix, MAST::IsotropicMaterialProperty::TransverseShearStiffnessMatrix, MAST::Solid2DSectionProperty::ExtensionBendingStiffnessMatrix, MAST::OrthotropicMaterialProperty::TransverseShearStiffnessMatrix, MAST::IsotropicElementProperty3D::InertiaMatrix, MAST::BasisMatrixCoordinate, MAST::PolarCoordinate, MAST::PistonTheoryPressure, MAST::Solid1DSectionProperty::Area, MAST::OrthotropicProperty3D::StiffnessMatrix, MAST::IsotropicElementProperty3D::StiffnessMatrix, MAST::IsotropicMaterialProperty::StiffnessMatrix1D, MAST::OrthotropicMaterialProperty::StiffnessMatrix1D, and MAST::Solid2DSectionProperty::ExtensionStiffnessMatrix.

Definition at line 115 of file field_function_base.h.

template<typename ValType>
virtual void MAST::FieldFunction< ValType >::operator() ( ValType &  v) const
inlinevirtual

calculates the value of the function and returns it in v.

Reimplemented in MAST::FrequencyFunction, and MAST::ConstantFieldFunction.

Definition at line 59 of file field_function_base.h.

template<typename ValType>
virtual void MAST::FieldFunction< ValType >::operator() ( const libMesh::Point &  p,
const Real  t,
ValType &  v 
) const
inlinevirtual

calculates the value of the function at the specified point, p, and time, t, and returns it in v.

Reimplemented in MAST::Solid1DSectionProperty::ThermalCapacitanceMatrix, MAST::Solid1DSectionProperty::ThermalConductanceMatrix, MAST::Solid1DSectionProperty::PrestressBMatrix, MAST::Solid1DSectionProperty::PrestressAMatrix, MAST::Solid1DSectionProperty::ThermalExpansionBMatrix, MAST::Solid1DSectionProperty::ThermalExpansionAMatrix, MAST::Solid1DSectionProperty::InertiaMatrix, MAST::Solid1DSectionProperty::TransverseStiffnessMatrix, MAST::Solid1DSectionProperty::BendingStiffnessMatrix, MAST::Solid1DSectionProperty::ExtensionBendingStiffnessMatrix, MAST::Solid1DSectionProperty::ExtensionStiffnessMatrix, MAST::Solid2DSectionProperty::ThermalCapacitanceMatrix, MAST::Solid1DSectionProperty::AreaInertiaMatrix, MAST::OrthotropicMaterialProperty::ThermalCapacitanceMatrix, MAST::Solid2DSectionProperty::ThermalConductanceMatrix, MAST::Solid2DSectionProperty::PrestressBMatrix, MAST::OrthotropicMaterialProperty::ThermalConductanceMatrix, MAST::Solid1DSectionProperty::AreaZMoment, MAST::Solid2DSectionProperty::PrestressAMatrix, MAST::IsotropicMaterialProperty::ThermalCapacitanceMatrix, MAST::Solid1DSectionProperty::AreaYMoment, MAST::Solid2DSectionProperty::ThermalExpansionBMatrix, MAST::OrthotropicMaterialProperty::ThermalExpansionMatrix, MAST::IsotropicMaterialProperty::ThermalConductanceMatrix, MAST::Solid2DSectionProperty::ThermalExpansionAMatrix, MAST::OrthotropicProperty3D::ThermalCapacitanceMatrix, MAST::IsotropicMaterialProperty::ThermalExpansionMatrix, MAST::IsotropicElementProperty3D::ThermalCapacitanceMatrix, MAST::Solid1DSectionProperty::PolarInertia, MAST::Solid2DSectionProperty::InertiaMatrix, MAST::OrthotropicMaterialProperty::InertiaMatrix3D, MAST::OrthotropicProperty3D::ThermalConductanceMatrix, MAST::PistonTheoryPressureXdotDerivative, MAST::IsotropicMaterialProperty::InertiaMatrix3D, MAST::IsotropicElementProperty3D::ThermalConductanceMatrix, MAST::OrthotropicMaterialProperty::StiffnessMatrix3D, MAST::Solid2DSectionProperty::TransverseStiffnessMatrix, MAST::Multilayer1DSectionProperty::Matrix, MAST::Multilayer2DSectionProperty::Matrix, MAST::OrthotropicProperty3D::PrestressAMatrix, MAST::IsotropicMaterialProperty::StiffnessMatrix3D, MAST::IsotropicElementProperty3D::PrestressAMatrix, MAST::PistonTheoryPressureXDerivative, MAST::IsotropicMaterialProperty::StiffnessMatrix2D, MAST::OrthotropicMaterialProperty::StiffnessMatrix2D, MAST::OrthotropicProperty3D::ThermalExpansionMatrix, MAST::Solid2DSectionProperty::BendingStiffnessMatrix, MAST::PressureFunction, MAST::Solid1DSectionProperty::TorsionalConstant, MAST::IsotropicElementProperty3D::ThermalExpansionMatrix, MAST::FrequencyDomainPressureFunction, MAST::MeshFieldFunction, MAST::OrthotropicProperty3D::InertiaMatrix, MAST::IsotropicMaterialProperty::TransverseShearStiffnessMatrix, MAST::Solid2DSectionProperty::ExtensionBendingStiffnessMatrix, MAST::ConstantFieldFunction, MAST::OrthotropicMaterialProperty::TransverseShearStiffnessMatrix, MAST::IsotropicElementProperty3D::InertiaMatrix, MAST::ComplexMeshFieldFunction, MAST::PistonTheoryPressure, MAST::Multilayer2DSectionProperty::LayerOffset, MAST::BasisMatrixCoordinate, MAST::PolarCoordinate, MAST::Multilayer1DSectionProperty::LayerOffset, MAST::Solid1DSectionProperty::Area, MAST::LevelSetBoundaryVelocity, MAST::OrthotropicProperty3D::StiffnessMatrix, MAST::IsotropicElementProperty3D::StiffnessMatrix, MAST::IsotropicMaterialProperty::StiffnessMatrix1D, MAST::OrthotropicMaterialProperty::StiffnessMatrix1D, and MAST::Solid2DSectionProperty::ExtensionStiffnessMatrix.

Definition at line 89 of file field_function_base.h.

template<typename ValType>
virtual void MAST::FieldFunction< ValType >::perturbation ( ValType &  v) const
inlinevirtual

calculates the perturbation and returns it in v.

Definition at line 68 of file field_function_base.h.

Here is the caller graph for this function:

template<typename ValType>
virtual void MAST::FieldFunction< ValType >::perturbation ( const libMesh::Point &  p,
const Real  t,
ValType &  v 
) const
inlinevirtual

calculates the value of a perturbation in function at the specified point, p, and time, t, and returns it in v.

Reimplemented in MAST::PressureFunction, MAST::MeshFieldFunction, and MAST::ComplexMeshFieldFunction.

Definition at line 102 of file field_function_base.h.


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