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

Evaluates a structured expression. More...

#include <Boundary_func.hpp>

Inheritance diagram for hexed::Boundary_expr:
hexed::Boundary_func hexed::Output_data

Public Member Functions

 Boundary_expr (Struct_expr, const Interpreter &)
 
 Boundary_expr (Struct_expr, Interpreter &&)=delete
 
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() (Boundary_connection &, int i_fqpoint, double time) const override
 

Detailed Description

Evaluates a structured expression.

Expression is evaluated in an environment that includes the variables defined in hil_properties::surface as well as time.

Member Function Documentation

◆ n_var()

int hexed::Boundary_expr::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::Boundary_expr::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.

◆ variable_name()

std::string hexed::Boundary_expr::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: