virtual void operator()(const libMesh::Point &p, const Real t, Complex &dp) const
provides the complex pressure perturbation
MAST::SystemInitialization & _system
system associated with the mesh and solution vector
std::unique_ptr< libMesh::MeshFunction > _dsol_im_function
virtual ~FrequencyDomainPressureFunction()
std::unique_ptr< libMesh::NumericVector< Real > > _sol
steady part of solution
std::unique_ptr< libMesh::MeshFunction > _sol_function
mesh function that interpolates the solution
void set_calculate_cp(bool if_cp)
sets the mode of the pressure value return
FrequencyDomainPressureFunction(MAST::SystemInitialization &sys, MAST::FlightCondition &flt)
std::unique_ptr< libMesh::NumericVector< Real > > _dsol_imag
imag part of small-disturbance solution
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
std::unique_ptr< libMesh::MeshFunction > _dsol_re_function
bool _if_cp
the function will return cp instead of pressure if this option is true.
std::unique_ptr< libMesh::NumericVector< Real > > _dsol_real
real part of small-disturbance solution
MAST::FlightCondition & _flt_cond
flight condition