MAST
MAST::PistonTheoryBoundaryCondition Class Reference

#include <piston_theory_boundary_condition.h>

Inheritance diagram for MAST::PistonTheoryBoundaryCondition:
Collaboration diagram for MAST::PistonTheoryBoundaryCondition:

Public Member Functions

 PistonTheoryBoundaryCondition (unsigned int order, const RealVectorX &vel_vec)
 Constructor for the Piston Theory boundary condition object. More...
 
virtual ~PistonTheoryBoundaryCondition ()
 
unsigned int order () const
 
const RealVectorXvel_vec () const
 
std::unique_ptr< MAST::FieldFunction< Real > > get_pressure_function (const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt) const
 
std::unique_ptr< MAST::FieldFunction< Real > > get_dpdx_function (const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt) const
 
std::unique_ptr< MAST::FieldFunction< Real > > get_dpdxdot_function (const MAST::FieldFunction< Real > &dwdx, const MAST::FieldFunction< Real > &dwdt) const
 
- Public Member Functions inherited from MAST::BoundaryConditionBase
 BoundaryConditionBase (MAST::BoundaryConditionType t)
 
virtual ~BoundaryConditionBase ()
 
MAST::BoundaryConditionType type () const
 
- Public Member Functions inherited from MAST::FunctionSetBase
 FunctionSetBase ()
 
virtual ~FunctionSetBase ()
 destructor deletes the function pointers More...
 
bool contains (const std::string &nm) const
 checks if the card contains the specified property value More...
 
void add (MAST::FunctionBase &f)
 adds the function to this card and returns a reference to it. More...
 
template<typename ValType >
const ValType & get (const std::string &nm) const
 returns a constant reference to the specified function More...
 
template<typename ValType >
ValType & get (const std::string &nm)
 returns a writable reference to the specified function More...
 
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the property card depends on the function f More...
 

Protected Attributes

unsigned int _order
 Order of the boundary condition. More...
 
RealVectorX _vel_vec
 Ambient flow velocity vector. More...
 
- Protected Attributes inherited from MAST::BoundaryConditionBase
MAST::BoundaryConditionType _bc_type
 
- Protected Attributes inherited from MAST::FunctionSetBase
std::map< std::string, MAST::FunctionBase * > _properties
 map of the functions in this card More...
 

Detailed Description

Definition at line 167 of file piston_theory_boundary_condition.h.

Constructor & Destructor Documentation

MAST::PistonTheoryBoundaryCondition::PistonTheoryBoundaryCondition ( unsigned int  order,
const RealVectorX vel_vec 
)

Constructor for the Piston Theory boundary condition object.

The arguments needed for initialization are order: order of piston theory, mach: mach number a_inf: ambient speed of sound, gamma: ratio of specific heats at constant pressure and constant volume, rho: ambient density for calculation of dynamic pressure, vel_vec: velocity unit vector

Definition at line 499 of file piston_theory_boundary_condition.cpp.

Here is the caller graph for this function:

MAST::PistonTheoryBoundaryCondition::~PistonTheoryBoundaryCondition ( )
virtual

Definition at line 513 of file piston_theory_boundary_condition.cpp.

Member Function Documentation

std::unique_ptr< MAST::FieldFunction< Real > > MAST::PistonTheoryBoundaryCondition::get_dpdx_function ( const MAST::FieldFunction< Real > &  dwdx,
const MAST::FieldFunction< Real > &  dwdt 
) const
Returns
a smart-pointer to the pressure function

Definition at line 558 of file piston_theory_boundary_condition.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::unique_ptr< MAST::FieldFunction< Real > > MAST::PistonTheoryBoundaryCondition::get_dpdxdot_function ( const MAST::FieldFunction< Real > &  dwdx,
const MAST::FieldFunction< Real > &  dwdt 
) const
Returns
a smart-pointer to the pressure function

Definition at line 579 of file piston_theory_boundary_condition.cpp.

Here is the caller graph for this function:

std::unique_ptr< MAST::FieldFunction< Real > > MAST::PistonTheoryBoundaryCondition::get_pressure_function ( const MAST::FieldFunction< Real > &  dwdx,
const MAST::FieldFunction< Real > &  dwdt 
) const
Returns
a smart-pointer to the pressure function

Definition at line 537 of file piston_theory_boundary_condition.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int MAST::PistonTheoryBoundaryCondition::order ( ) const
Returns
the order of piston theory to be used

Definition at line 520 of file piston_theory_boundary_condition.cpp.

const RealVectorX & MAST::PistonTheoryBoundaryCondition::vel_vec ( ) const
Returns
velocity vector

Definition at line 527 of file piston_theory_boundary_condition.cpp.

Here is the call graph for this function:

Member Data Documentation

unsigned int MAST::PistonTheoryBoundaryCondition::_order
protected

Order of the boundary condition.

Definition at line 231 of file piston_theory_boundary_condition.h.

RealVectorX MAST::PistonTheoryBoundaryCondition::_vel_vec
protected

Ambient flow velocity vector.

Definition at line 237 of file piston_theory_boundary_condition.h.


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