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

A class of functions that can be evaluated at a point on a surface, without reference to a Boundary_connection object. More...

#include <Surface_func.hpp>

Inheritance diagram for hexed::Surface_func:
hexed::Boundary_func hexed::Output_data hexed::Domain_func hexed::Outward_normal hexed::Pressure_stress 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() (Boundary_connection &, int i_fqpoint, double time) const override
 
virtual std::vector< double > operator() (std::vector< double > pos, double time, std::vector< double > state, std::vector< double > outward_normal) const =0
 normal is surface unit normal vector pointing out of the surface (into the domain).
 
- 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
 

Detailed Description

A class of functions that can be evaluated at a point on a surface, without reference to a Boundary_connection object.

Member Function Documentation

◆ operator()() [1/2]

std::vector< double > hexed::Surface_func::operator() ( Boundary_connection & face,
int i_fqpoint,
double time ) const
overridevirtual
Parameters
faceA Boundary_connection object representing a face of an element that is on a boundary.
i_fqpointIndex of the face quadrature point ( \( \in [0, r^{n_{dim} - 1})\) where \(r\) is row size).
timeFlow time.

Implements hexed::Boundary_func.

◆ operator()() [2/2]

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

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

Implemented in hexed::Domain_func, and hexed::Pressure_stress.


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