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

Detailed Description

Definition at line 81 of file piston_theory_boundary_condition.h.

#include <piston_theory_boundary_condition.h>

Inheritance diagram for MAST::PistonTheoryPressureXDerivative:
Collaboration diagram for MAST::PistonTheoryPressureXDerivative:

Public Member Functions

 PistonTheoryPressureXDerivative (unsigned int order, const MAST::FieldFunction< Real > &V, const MAST::FieldFunction< Real > &M, const MAST::FieldFunction< Real > &rho, const MAST::FieldFunction< Real > &gamma, const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt)
 
virtual ~PistonTheoryPressureXDerivative ()
 
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 MAST::FieldFunction< Real > & _dwdt
 
const MAST::FieldFunction< Real > & _dwdx
 
const MAST::FieldFunction< Real > & _gamma
 
const MAST::FieldFunction< Real > & _M_inf
 
const unsigned int _order
 
const MAST::FieldFunction< Real > & _rho_inf
 
const MAST::FieldFunction< Real > & _V_inf
 
- 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

◆ PistonTheoryPressureXDerivative()

MAST::PistonTheoryPressureXDerivative::PistonTheoryPressureXDerivative ( unsigned int  order,
const MAST::FieldFunction< Real > &  V,
const MAST::FieldFunction< Real > &  M,
const MAST::FieldFunction< Real > &  rho,
const MAST::FieldFunction< Real > &  gamma,
const MAST::FieldFunction< Real > &  dwdx,
const MAST::FieldFunction< Real > &  dwdt 
)

Definition at line 174 of file piston_theory_boundary_condition.cpp.

◆ ~PistonTheoryPressureXDerivative()

MAST::PistonTheoryPressureXDerivative::~PistonTheoryPressureXDerivative ( )
virtual

Definition at line 202 of file piston_theory_boundary_condition.cpp.

Member Function Documentation

◆ derivative()

void MAST::PistonTheoryPressureXDerivative::derivative ( const MAST::FunctionBase f,
const libMesh::Point &  p,
const Real  t,
Real v 
) const
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 260 of file piston_theory_boundary_condition.cpp.

◆ operator()()

void MAST::PistonTheoryPressureXDerivative::operator() ( const libMesh::Point &  p,
const Real  t,
Real v 
) const
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 207 of file piston_theory_boundary_condition.cpp.

Member Data Documentation

◆ _dwdt

const MAST::FieldFunction<Real> & MAST::PistonTheoryPressureXDerivative::_dwdt
protected

Definition at line 112 of file piston_theory_boundary_condition.h.

◆ _dwdx

const MAST::FieldFunction<Real> & MAST::PistonTheoryPressureXDerivative::_dwdx
protected

Definition at line 112 of file piston_theory_boundary_condition.h.

◆ _gamma

const MAST::FieldFunction<Real> & MAST::PistonTheoryPressureXDerivative::_gamma
protected

Definition at line 112 of file piston_theory_boundary_condition.h.

◆ _M_inf

const MAST::FieldFunction<Real> & MAST::PistonTheoryPressureXDerivative::_M_inf
protected

Definition at line 112 of file piston_theory_boundary_condition.h.

◆ _order

const unsigned int MAST::PistonTheoryPressureXDerivative::_order
protected

Definition at line 109 of file piston_theory_boundary_condition.h.

◆ _rho_inf

const MAST::FieldFunction<Real> & MAST::PistonTheoryPressureXDerivative::_rho_inf
protected

Definition at line 112 of file piston_theory_boundary_condition.h.

◆ _V_inf

const MAST::FieldFunction<Real>& MAST::PistonTheoryPressureXDerivative::_V_inf
protected

Definition at line 112 of file piston_theory_boundary_condition.h.


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