hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Advection_state Class Reference

Fetches the advection states used for computing the smoothness-based artfificial viscosity. More...

#include <Qpoint_func.hpp>

Inheritance diagram for hexed::Advection_state:
hexed::Qpoint_func hexed::Output_data

Public Member Functions

 Advection_state (int row_size)
 Advection_state::operator() will only work when called on a Element with the specified row size.
 
int n_var (int n_dim) const override
 number of output variables when called on n_dim-dimensional input
 
std::string variable_name (int n_dim, int i_var) const override
 name of i_varth variable (for plotting) when called on n_dim-dimensional input
 
std::vector< double > operator() (Element &, const Basis &, int i_qpoint, double time) const override
 

Detailed Description

Fetches the advection states used for computing the smoothness-based artfificial viscosity.

Member Function Documentation

◆ n_var()

int hexed::Advection_state::n_var ( int n_dim) const
inlineoverridevirtual

number of output variables when called on n_dim-dimensional input

Implements hexed::Output_data.

◆ operator()()

std::vector< double > hexed::Advection_state::operator() ( Element & elem,
const Basis & ,
int i_qpoint,
double time ) const
overridevirtual

Implements hexed::Qpoint_func.

◆ variable_name()

std::string hexed::Advection_state::variable_name ( int n_dim,
int i_var ) const
inlineoverridevirtual

name of i_varth variable (for plotting) when called on n_dim-dimensional input

Reimplemented from hexed::Output_data.


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