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

Basis with equidistant quadrature points. More...

#include <Equidistant.hpp>

Inheritance diagram for hexed::Equidistant:
hexed::Basis

Public Member Functions

 Equidistant (int row_size_arg)
 constructor
 
double node (int i) const override
 the ith interpolation node (i.e. quadrature point). Should be in interval [0, 1].
 
Mat< dyn, dyndiff_mat () const override
 Differentiation matrix.
 
Mat node_weights () const override
 placeholder (throws an exception)
 
Mat< dyn, dynboundary () const override
 boundary()(i, j) is the jth basis polynomial evaluated at i for i in {0, 1}.
 
Mat orthogonal (int degree) const override
 placeholder (throws an exception)
 
Mat< dyn, dynfilter () const override
 placeholder (throws an exception)
 
Mat< dyn, dynrestrict (int i_half) const override
 placeholder (throws an exception)
 
double min_eig_diffusion () const override
 placeholder (throws an exception)
 
- Public Member Functions inherited from hexed::Basis
 Basis (int row_size_arg)
 
Mat nodes () const
 Get vector of nodes.
 
Mat< dyn, dyninterpolate (const Mat<> &sample) const
 Interpolate to arbitrary points.
 
virtual Mat< dyn, dynprolong (int i_half) const
 Matrix to prolong into polynomial space of one higher refinement level.
 
double max_cfl () const
 maximum stable CFL number for 1D convection
 
double step_ratio () const
 ratio of time step for convection stage 2 to stage 1
 

Protected Member Functions

double min_eig_convection () const override
 placeholder (throws an exception)
 
double quadratic_safety () const override
 placeholder (throws an exception)
 

Additional Inherited Members

- Public Attributes inherited from hexed::Basis
const int row_size
 row size
 

Detailed Description

Basis with equidistant quadrature points.

Used only for testing some basic featurs. This would not be a good basis to use in practice because of Runge's phenomenon. As a result, some of the member functions not used in testing are placeholders we have not bothered to implement.

Member Function Documentation

◆ boundary()

Mat< dyn, dyn > hexed::Equidistant::boundary ( ) const
overridevirtual

boundary()(i, j) is the jth basis polynomial evaluated at i for i in {0, 1}.

Implements hexed::Basis.

◆ diff_mat()

Mat< dyn, dyn > hexed::Equidistant::diff_mat ( ) const
overridevirtual

Differentiation matrix.

diff_mat()(i, j) is the derivative of interpolating polynomial j evaluated at node(i).

Implements hexed::Basis.

◆ filter()

Mat< dyn, dyn > hexed::Equidistant::filter ( ) const
overridevirtual

placeholder (throws an exception)

Implements hexed::Basis.

◆ min_eig_convection()

double hexed::Equidistant::min_eig_convection ( ) const
overrideprotectedvirtual

placeholder (throws an exception)

Implements hexed::Basis.

◆ min_eig_diffusion()

double hexed::Equidistant::min_eig_diffusion ( ) const
overridevirtual

placeholder (throws an exception)

Implements hexed::Basis.

◆ node()

double hexed::Equidistant::node ( int i) const
overridevirtual

the ith interpolation node (i.e. quadrature point). Should be in interval [0, 1].

Implements hexed::Basis.

◆ node_weights()

Mat hexed::Equidistant::node_weights ( ) const
overridevirtual

placeholder (throws an exception)

Implements hexed::Basis.

◆ orthogonal()

Mat hexed::Equidistant::orthogonal ( int degree) const
overridevirtual

placeholder (throws an exception)

Implements hexed::Basis.

◆ quadratic_safety()

double hexed::Equidistant::quadratic_safety ( ) const
overrideprotectedvirtual

placeholder (throws an exception)

Implements hexed::Basis.

◆ restrict()

Mat< dyn, dyn > hexed::Equidistant::restrict ( int i_half) const
overridevirtual

placeholder (throws an exception)

Implements hexed::Basis.


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