Basis with equidistant quadrature points.
More...
#include <Equidistant.hpp>
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, dyn > | diff_mat () const override |
| Differentiation matrix. | |
| Mat | node_weights () const override |
| placeholder (throws an exception) | |
| Mat< dyn, dyn > | boundary () 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, dyn > | filter () const override |
| placeholder (throws an exception) | |
| Mat< dyn, dyn > | restrict (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, dyn > | interpolate (const Mat<> &sample) const |
| Interpolate to arbitrary points. | |
| virtual Mat< dyn, dyn > | prolong (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 | |
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.
boundary()(i, j) is the jth basis polynomial evaluated at i for i in {0, 1}.
Implements hexed::Basis.
Differentiation matrix.
diff_mat()(i, j) is the derivative of interpolating polynomial j evaluated at node(i).
Implements hexed::Basis.
placeholder (throws an exception)
Implements hexed::Basis.
|
overrideprotectedvirtual |
placeholder (throws an exception)
Implements hexed::Basis.
|
overridevirtual |
placeholder (throws an exception)
Implements hexed::Basis.
|
overridevirtual |
the ith interpolation node (i.e. quadrature point). Should be in interval [0, 1].
Implements hexed::Basis.
|
overridevirtual |
placeholder (throws an exception)
Implements hexed::Basis.
|
overridevirtual |
placeholder (throws an exception)
Implements hexed::Basis.
|
overrideprotectedvirtual |
placeholder (throws an exception)
Implements hexed::Basis.
placeholder (throws an exception)
Implements hexed::Basis.