MAST
|
#include <frequency_domain_pressure_function.h>
Public Member Functions | |
FrequencyDomainPressureFunction (MAST::SystemInitialization &sys, MAST::FlightCondition &flt) | |
virtual | ~FrequencyDomainPressureFunction () |
void | set_calculate_cp (bool if_cp) |
sets the mode of the pressure value return More... | |
void | init (const libMesh::NumericVector< Real > &steady_sol, const libMesh::NumericVector< Real > &small_dist_sol_real, const libMesh::NumericVector< Real > &small_dist_sol_imag) |
initiate the mesh function for this solution More... | |
virtual void | operator() (const libMesh::Point &p, const Real t, Complex &dp) const |
provides the complex pressure perturbation More... | |
Public Member Functions inherited from MAST::FieldFunction< Complex > | |
FieldFunction (const std::string &nm) | |
virtual void | operator() (Complex &v) const |
calculates the value of the function and returns it in v . More... | |
virtual void | perturbation (Complex &v) const |
calculates the perturbation and returns it in v . More... | |
virtual void | perturbation (const libMesh::Point &p, const Real t, Complex &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, Complex &v) const |
calculates the value of the function derivative and returns it in v . More... | |
virtual void | derivative (const MAST::FunctionBase &f, const libMesh::Point &p, const Real t, Complex &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) |
Protected Attributes | |
bool | _if_cp |
the function will return cp instead of pressure if this option is true. More... | |
MAST::SystemInitialization & | _system |
system associated with the mesh and solution vector More... | |
MAST::FlightCondition & | _flt_cond |
flight condition More... | |
std::unique_ptr< libMesh::MeshFunction > | _sol_function |
mesh function that interpolates the solution More... | |
std::unique_ptr< libMesh::MeshFunction > | _dsol_re_function |
std::unique_ptr< libMesh::MeshFunction > | _dsol_im_function |
std::unique_ptr< libMesh::NumericVector< Real > > | _sol |
steady part of solution More... | |
std::unique_ptr< libMesh::NumericVector< Real > > | _dsol_real |
real part of small-disturbance solution More... | |
std::unique_ptr< libMesh::NumericVector< Real > > | _dsol_imag |
imag part of small-disturbance solution More... | |
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... | |
Definition at line 42 of file frequency_domain_pressure_function.h.
MAST::FrequencyDomainPressureFunction::FrequencyDomainPressureFunction | ( | MAST::SystemInitialization & | sys, |
MAST::FlightCondition & | flt | ||
) |
Definition at line 38 of file frequency_domain_pressure_function.cpp.
|
virtual |
Definition at line 50 of file frequency_domain_pressure_function.cpp.
void MAST::FrequencyDomainPressureFunction::init | ( | const libMesh::NumericVector< Real > & | steady_sol, |
const libMesh::NumericVector< Real > & | small_dist_sol_real, | ||
const libMesh::NumericVector< Real > & | small_dist_sol_imag | ||
) |
initiate the mesh function for this solution
Definition at line 59 of file frequency_domain_pressure_function.cpp.
|
virtual |
provides the complex pressure perturbation
Reimplemented from MAST::FieldFunction< Complex >.
Definition at line 114 of file frequency_domain_pressure_function.cpp.
|
inline |
sets the mode of the pressure value return
Definition at line 57 of file frequency_domain_pressure_function.h.
|
protected |
Definition at line 104 of file frequency_domain_pressure_function.h.
|
protected |
imag part of small-disturbance solution
Definition at line 121 of file frequency_domain_pressure_function.h.
|
protected |
Definition at line 104 of file frequency_domain_pressure_function.h.
|
protected |
real part of small-disturbance solution
Definition at line 116 of file frequency_domain_pressure_function.h.
|
protected |
flight condition
Definition at line 97 of file frequency_domain_pressure_function.h.
|
protected |
the function will return cp instead of pressure if this option is true.
Definition at line 86 of file frequency_domain_pressure_function.h.
|
protected |
steady part of solution
Definition at line 111 of file frequency_domain_pressure_function.h.
|
protected |
mesh function that interpolates the solution
Definition at line 104 of file frequency_domain_pressure_function.h.
|
protected |
system associated with the mesh and solution vector
Definition at line 91 of file frequency_domain_pressure_function.h.