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

Detailed Description

Inheritance diagram for MAST::Multilayer1DSectionProperty::LayerOffset:
Collaboration diagram for MAST::Multilayer1DSectionProperty::LayerOffset:

Public Member Functions

 LayerOffset (const Real base, unsigned int layer_num, const std::vector< const MAST::FieldFunction< Real > *> &layer_hz)
 
virtual ~LayerOffset ()
 
virtual void derivative (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, Real &m) 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...
 
virtual void operator() (const libMesh::Point &p, const Real t, Real &m) 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 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 Attributes

const Real _base
 
const std::vector< const MAST::FieldFunction< Real > * > _layer_hz
 
const unsigned int _layer_num
 
- 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...
 

Constructor & Destructor Documentation

◆ LayerOffset()

MAST::Multilayer1DSectionProperty::LayerOffset::LayerOffset ( const Real  base,
unsigned int  layer_num,
const std::vector< const MAST::FieldFunction< Real > *> &  layer_hz 
)
inline

◆ ~LayerOffset()

virtual MAST::Multilayer1DSectionProperty::LayerOffset::~LayerOffset ( )
inlinevirtual

Member Function Documentation

◆ derivative()

virtual void MAST::Multilayer1DSectionProperty::LayerOffset::derivative ( const MAST::FunctionBase f,
const libMesh::Point &  p,
const Real  t,
Real 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 from MAST::FieldFunction< Real >.

Definition at line 70 of file multilayer_1d_section_element_property_card.cpp.

◆ operator()()

virtual void MAST::Multilayer1DSectionProperty::LayerOffset::operator() ( const libMesh::Point &  p,
const Real  t,
Real v 
) const
inlinevirtual

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 49 of file multilayer_1d_section_element_property_card.cpp.

Member Data Documentation

◆ _base

const Real MAST::Multilayer1DSectionProperty::LayerOffset::_base
protected

◆ _layer_hz

const std::vector<const MAST::FieldFunction<Real>*> MAST::Multilayer1DSectionProperty::LayerOffset::_layer_hz
protected

◆ _layer_num

const unsigned int MAST::Multilayer1DSectionProperty::LayerOffset::_layer_num
protected

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