hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Domain_func Class Referenceabstract

#include <Domain_func.hpp>

Inheritance diagram for hexed::Domain_func:
hexed::Qpoint_func hexed::Surface_func hexed::Output_data hexed::Boundary_func hexed::Output_data hexed::Diff_sq hexed::Error_func hexed::Mach hexed::Mass hexed::Pressure hexed::Ringleb_errsq hexed::Spacetime_func hexed::Stab_indicator hexed::Stag_pres hexed::State_variables hexed::Velocity

Public Member Functions

std::vector< double > operator() (Element &, const Basis &, int i_qpoint, double time) const override
 
std::vector< double > operator() (std::vector< double > pos, double time, std::vector< double > state, std::vector< double > outward_normal) const override
 normal is surface unit normal vector pointing out of the surface (into the domain).
 
virtual std::vector< double > operator() (std::vector< double > pos, double time, std::vector< double > state) const =0
 
- Public Member Functions inherited from hexed::Output_data
virtual int n_var (int n_dim) const =0
 number of output variables when called on n_dim-dimensional input
 
virtual std::string variable_name (int n_dim, int i_var) const
 name of i_varth variable (for plotting) when called on n_dim-dimensional input
 
- Public Member Functions inherited from hexed::Surface_func
std::vector< double > operator() (Boundary_connection &, int i_fqpoint, double time) const override
 

Detailed Description

Represents a function of position, time, and flow state. That is, all the variables in the mathematical problem domain. Useful for defining error functions and computing integrals.

Member Function Documentation

◆ operator()() [1/3]

std::vector< double > hexed::Domain_func::operator() ( Element & element,
const Basis & basis,
int i_qpoint,
double time ) const
overridevirtual

Implements hexed::Qpoint_func.

◆ operator()() [2/3]

virtual std::vector< double > hexed::Domain_func::operator() ( std::vector< double > pos,
double time,
std::vector< double > state ) const
pure virtual

Implemented in hexed::State_variables.

◆ operator()() [3/3]

std::vector< double > hexed::Domain_func::operator() ( std::vector< double > pos,
double time,
std::vector< double > state,
std::vector< double > outward_normal ) const
overridevirtual

normal is surface unit normal vector pointing out of the surface (into the domain).

Implements hexed::Surface_func.


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