Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( D_x\), \( D_y\) and \( D_z \) More...
Enumerations | |
enum | dg::bc { dg::PER = 0 , dg::DIR = 1 , dg::DIR_NEU = 2 , dg::NEU_DIR = 3 , dg::NEU = 4 } |
Switch between boundary conditions. More... | |
enum | dg::direction { dg::forward , dg::backward , dg::centered } |
Direction of a discrete derivative. More... | |
enum | dg::space { dg::lspace , dg::xspace } |
Space of DG coefficients. More... | |
enum class | dg::coo2d : char { dg::coo2d::x = 'x' , dg::coo2d::y = 'y' } |
2d coordinates More... | |
enum class | dg::coo3d : char { dg::coo3d::x = 'x' , dg::coo3d::y = 'y' , dg::coo3d::z = 'z' , dg::coo3d::xy = 'a' , dg::coo3d::yz = 'b' , dg::coo3d::xz = 'c' } |
3d contra- and covariant coordinates More... | |
Functions | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dx (const aRealTopology2d< real_type > &g, bc bcx, direction dir=centered) |
Create 2d derivative in x-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dx (const aRealTopology2d< real_type > &g, direction dir=centered) |
Create 2d derivative in x-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dy (const aRealTopology2d< real_type > &g, bc bcy, direction dir=centered) |
Create 2d derivative in y-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dy (const aRealTopology2d< real_type > &g, direction dir=centered) |
Create 2d derivative in y-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpX (const aRealTopology2d< real_type > &g, bc bcx) |
Matrix that contains 2d jump terms in X direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpY (const aRealTopology2d< real_type > &g, bc bcy) |
Matrix that contains 2d jump terms in Y direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpX (const aRealTopology2d< real_type > &g) |
Matrix that contains 2d jump terms in X direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpY (const aRealTopology2d< real_type > &g) |
Matrix that contains 2d jump terms in Y direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpX (const aRealTopology3d< real_type > &g, bc bcx) |
Matrix that contains jump terms in X direction in 3D. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpY (const aRealTopology3d< real_type > &g, bc bcy) |
Matrix that contains jump terms in Y direction in 3D. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpZ (const aRealTopology3d< real_type > &g, bc bcz) |
Matrix that contains jump terms in Z direction in 3D. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpX (const aRealTopology3d< real_type > &g) |
Matrix that contains 3d jump terms in X direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpY (const aRealTopology3d< real_type > &g) |
Matrix that contains 3d jump terms in Y direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jumpZ (const aRealTopology3d< real_type > &g) |
Matrix that contains 3d jump terms in Z direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dx (const aRealTopology3d< real_type > &g, bc bcx, direction dir=centered) |
Create 3d derivative in x-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dx (const aRealTopology3d< real_type > &g, direction dir=centered) |
Create 3d derivative in x-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dy (const aRealTopology3d< real_type > &g, bc bcy, direction dir=centered) |
Create 3d derivative in y-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dy (const aRealTopology3d< real_type > &g, direction dir=centered) |
Create 3d derivative in y-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dz (const aRealTopology3d< real_type > &g, bc bcz, direction dir=centered) |
Create 3d derivative in z-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dz (const aRealTopology3d< real_type > &g, direction dir=centered) |
Create 3d derivative in z-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dx (const aRealTopologyX2d< real_type > &g, bc bcx, direction dir=centered) |
Create 2d derivative in x-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dx (const aRealTopologyX2d< real_type > &g, direction dir=centered) |
Create 2d derivative in x-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dy (const aRealTopologyX2d< real_type > &g, bc bcy, direction dir=centered) |
Create 2d derivative in y-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dy (const aRealTopologyX2d< real_type > &g, direction dir=centered) |
Create 2d derivative in y-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpX (const aRealTopologyX2d< real_type > &g, bc bcx) |
Matrix that contains 2d jump terms in X direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpY (const aRealTopologyX2d< real_type > &g, bc bcy) |
Matrix that contains 2d jump terms in Y direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpX (const aRealTopologyX2d< real_type > &g) |
Matrix that contains 2d jump terms in X direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpY (const aRealTopologyX2d< real_type > &g) |
Matrix that contains 2d jump terms in Y direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpX (const aRealTopologyX3d< real_type > &g, bc bcx) |
Matrix that contains jump terms in X direction in 3D. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpY (const aRealTopologyX3d< real_type > &g, bc bcy) |
Matrix that contains jump terms in Y direction in 3D. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpZ (const aRealTopologyX3d< real_type > &g, bc bcz) |
Matrix that contains jump terms in Z direction in 3D. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpX (const aRealTopologyX3d< real_type > &g) |
Matrix that contains 3d jump terms in X direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpY (const aRealTopologyX3d< real_type > &g) |
Matrix that contains 3d jump terms in Y direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::jumpZ (const aRealTopologyX3d< real_type > &g) |
Matrix that contains 3d jump terms in Z direction taking boundary conditions from the grid. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dx (const aRealTopologyX3d< real_type > &g, bc bcx, direction dir=centered) |
Create 3d derivative in x-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dx (const aRealTopologyX3d< real_type > &g, direction dir=centered) |
Create 3d derivative in x-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dy (const aRealTopologyX3d< real_type > &g, bc bcy, direction dir=centered) |
Create 3d derivative in y-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dy (const aRealTopologyX3d< real_type > &g, direction dir=centered) |
Create 3d derivative in y-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dz (const aRealTopologyX3d< real_type > &g, bc bcz, direction dir=centered) |
Create 3d derivative in z-direction. More... | |
template<class real_type > | |
Composite< EllSparseBlockMat< real_type > > | dg::create::dz (const aRealTopologyX3d< real_type > &g, direction dir=centered) |
Create 3d derivative in z-direction. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dx (const RealGrid1d< real_type > &g, bc bcx, direction dir=centered) |
Create and assemble a host Matrix for the derivative in 1d. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::dx (const RealGrid1d< real_type > &g, direction dir=centered) |
Create and assemble a host Matrix for the derivative in 1d. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jump (const RealGrid1d< real_type > &g, bc bcx) |
Create and assemble a host Matrix for the jump in 1d. More... | |
template<class real_type > | |
EllSparseBlockMat< real_type > | dg::create::jump (const RealGrid1d< real_type > &g) |
Create and assemble a host Matrix for the jump in 1d. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dx (const aRealMPITopology2d< real_type > &g, bc bcx, direction dir=centered) |
Create a 2d derivative in the x-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dy (const aRealMPITopology2d< real_type > &g, bc bcy, direction dir=centered) |
Create a 2d derivative in the y-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpX (const aRealMPITopology2d< real_type > &g, bc bcx) |
Create a 2d jump in the x-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpY (const aRealMPITopology2d< real_type > &g, bc bcy) |
Create a 2d jump in the y-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dx (const aRealMPITopology3d< real_type > &g, bc bcx, direction dir=centered) |
Create a 3d derivative in the x-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dy (const aRealMPITopology3d< real_type > &g, bc bcy, direction dir=centered) |
Create a 3d derivative in the y-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dz (const aRealMPITopology3d< real_type > &g, bc bcz, direction dir=centered) |
Create a 3d derivative in the z-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpX (const aRealMPITopology3d< real_type > &g, bc bcx) |
Create a 3d jump in the x-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpY (const aRealMPITopology3d< real_type > &g, bc bcy) |
Create a 3d jump in the y-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpZ (const aRealMPITopology3d< real_type > &g, bc bcz) |
Create a 3d jump in the z-direction for mpi. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dx (const aRealMPITopology2d< real_type > &g, direction dir=centered) |
Create 2d derivative in x-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dx (const aRealMPITopology3d< real_type > &g, direction dir=centered) |
Create 3d derivative in x-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpX (const aRealMPITopology2d< real_type > &g) |
Create 2d jump in x-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpX (const aRealMPITopology3d< real_type > &g) |
Create 3d jump in x-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dy (const aRealMPITopology2d< real_type > &g, direction dir=centered) |
Create 2d derivative in y-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dy (const aRealMPITopology3d< real_type > &g, direction dir=centered) |
Create 3d derivative in y-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpY (const aRealMPITopology2d< real_type > &g) |
Create 2d jump in y-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpY (const aRealMPITopology3d< real_type > &g) |
Create 3d jump in y-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::dz (const aRealMPITopology3d< real_type > &g, direction dir=centered) |
Create 3d derivative in z-direction. More... | |
template<class real_type > | |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > | dg::create::jumpZ (const aRealMPITopology3d< real_type > &g) |
Create 3d jump in z-direction. More... | |
static std::string | dg::bc2str (bc bcx) |
write a string describing boundary condition to an output stream More... | |
static bc | dg::str2bc (std::string s) |
convert a string to a bc More... | |
static bc | dg::inverse (bc bound) |
invert boundary condition More... | |
static direction | dg::str2direction (std::string s) |
convert a string to a direction More... | |
static std::string | dg::direction2str (enum direction dir) |
convert a direciton to string More... | |
static direction | dg::inverse (direction dir) |
invert direction More... | |
\( D_x\), \( D_y\) and \( D_z \)
High level matrix creation functions
enum dg::bc |
|
strong |
|
strong |
enum dg::direction |
enum dg::space |
|
inlinestatic |
write a string describing boundary condition to an output stream
converts
bcx | the boundary condition |
|
inlinestatic |
convert a direciton to string
converts
dir | the input direction |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dx | ( | const aRealMPITopology2d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create a 2d derivative in the x-direction for mpi.
g | A 2D mpi grid |
bcx | boundary condition |
dir | centered, forward or backward |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dx | ( | const aRealMPITopology2d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 2d derivative in x-direction.
g | The grid on which to create dx (boundary condition is taken from here) |
dir | The direction of the first derivative |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dx | ( | const aRealMPITopology3d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create a 3d derivative in the x-direction for mpi.
g | A 3D mpi grid |
bcx | boundary condition |
dir | centered, forward or backward |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dx | ( | const aRealMPITopology3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in x-direction.
g | The grid on which to create dx (boundary condition is taken from here) |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dx | ( | const aRealTopology2d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create 2d derivative in x-direction.
g | The grid on which to create dx |
bcx | The boundary condition |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dx | ( | const aRealTopology2d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 2d derivative in x-direction.
g | The grid on which to create dx (boundary condition is taken from here) |
dir | The direction of the first derivative |
This code snippet demonstrates how to derive a function on a device
EllSparseBlockMat< real_type > dg::create::dx | ( | const aRealTopology3d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create 3d derivative in x-direction.
g | The grid on which to create dx |
bcx | The boundary condition |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dx | ( | const aRealTopology3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in x-direction.
g | The grid on which to create dx (boundary condition is taken from here) |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dx | ( | const aRealTopologyX2d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create 2d derivative in x-direction.
g | The grid on which to create dx |
bcx | The boundary condition |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dx | ( | const aRealTopologyX2d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 2d derivative in x-direction.
g | The grid on which to create dx (boundary condition is taken from here) |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dx | ( | const aRealTopologyX3d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create 3d derivative in x-direction.
g | The grid on which to create dx |
bcx | The boundary condition |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dx | ( | const aRealTopologyX3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in x-direction.
g | The grid on which to create dx (boundary condition is taken from here) |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dx | ( | const RealGrid1d< real_type > & | g, |
bc | bcx, | ||
direction | dir = centered |
||
) |
Create and assemble a host Matrix for the derivative in 1d.
g | 1D grid |
bcx | boundary condition |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dx | ( | const RealGrid1d< real_type > & | g, |
direction | dir = centered |
||
) |
Create and assemble a host Matrix for the derivative in 1d.
Take the boundary condition from the grid
g | 1D grid |
dir | The direction of the first derivative |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dy | ( | const aRealMPITopology2d< real_type > & | g, |
bc | bcy, | ||
direction | dir = centered |
||
) |
Create a 2d derivative in the y-direction for mpi.
g | A 2D mpi grid |
bcy | boundary condition |
dir | centered, forward or backward |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dy | ( | const aRealMPITopology2d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 2d derivative in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
dir | The direction of the first derivative |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dy | ( | const aRealMPITopology3d< real_type > & | g, |
bc | bcy, | ||
direction | dir = centered |
||
) |
Create a 3d derivative in the y-direction for mpi.
g | A 3D mpi grid |
bcy | boundary condition |
dir | centered, forward or backward |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dy | ( | const aRealMPITopology3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dy | ( | const aRealTopology2d< real_type > & | g, |
bc | bcy, | ||
direction | dir = centered |
||
) |
Create 2d derivative in y-direction.
g | The grid on which to create dy |
bcy | The boundary condition |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dy | ( | const aRealTopology2d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 2d derivative in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dy | ( | const aRealTopology3d< real_type > & | g, |
bc | bcy, | ||
direction | dir = centered |
||
) |
Create 3d derivative in y-direction.
g | The grid on which to create dy |
bcy | The boundary condition |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dy | ( | const aRealTopology3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dy | ( | const aRealTopologyX2d< real_type > & | g, |
bc | bcy, | ||
direction | dir = centered |
||
) |
Create 2d derivative in y-direction.
g | The grid on which to create dy |
bcy | The boundary condition |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dy | ( | const aRealTopologyX2d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 2d derivative in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dy | ( | const aRealTopologyX3d< real_type > & | g, |
bc | bcy, | ||
direction | dir = centered |
||
) |
Create 3d derivative in y-direction.
g | The grid on which to create dy |
bcy | The boundary condition |
dir | The direction of the first derivative |
Composite< EllSparseBlockMat< real_type > > dg::create::dy | ( | const aRealTopologyX3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
dir | The direction of the first derivative |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dz | ( | const aRealMPITopology3d< real_type > & | g, |
bc | bcz, | ||
direction | dir = centered |
||
) |
Create a 3d derivative in the z-direction for mpi.
g | A 3D mpi grid |
bcz | boundary condition |
dir | centered, forward or backward |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::dz | ( | const aRealMPITopology3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in z-direction.
g | The grid on which to create dz (boundary condition is taken from here) |
dir | The direction of the first derivative |
EllSparseBlockMat< real_type > dg::create::dz | ( | const aRealTopology3d< real_type > & | g, |
bc | bcz, | ||
direction | dir = centered |
||
) |
Create 3d derivative in z-direction.
g | The grid on which to create dz |
bcz | The boundary condition |
dir | The direction of the stencil |
EllSparseBlockMat< real_type > dg::create::dz | ( | const aRealTopology3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in z-direction.
g | The grid on which to create dz (boundary condition is taken from here) |
dir | The direction of the stencil |
Composite< EllSparseBlockMat< real_type > > dg::create::dz | ( | const aRealTopologyX3d< real_type > & | g, |
bc | bcz, | ||
direction | dir = centered |
||
) |
Create 3d derivative in z-direction.
g | The grid on which to create dz |
bcz | The boundary condition |
dir | The direction of the stencil |
Composite< EllSparseBlockMat< real_type > > dg::create::dz | ( | const aRealTopologyX3d< real_type > & | g, |
direction | dir = centered |
||
) |
Create 3d derivative in z-direction.
g | The grid on which to create dz (boundary condition is taken from here) |
dir | The direction of the stencil |
invert boundary condition
bound | boundary condition to invert |
invert direction
dir | direction to invert |
EllSparseBlockMat< real_type > dg::create::jump | ( | const RealGrid1d< real_type > & | g | ) |
Create and assemble a host Matrix for the jump in 1d.
Take the boundary condition from the grid
g | 1D grid |
EllSparseBlockMat< real_type > dg::create::jump | ( | const RealGrid1d< real_type > & | g, |
bc | bcx | ||
) |
Create and assemble a host Matrix for the jump in 1d.
g | 1D grid |
bcx | boundary condition |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpX | ( | const aRealMPITopology2d< real_type > & | g | ) |
Create 2d jump in x-direction.
g | The grid on which to create jump (boundary condition is taken from here) |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpX | ( | const aRealMPITopology2d< real_type > & | g, |
bc | bcx | ||
) |
Create a 2d jump in the x-direction for mpi.
g | A 2D mpi grid |
bcx | boundary condition |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpX | ( | const aRealMPITopology3d< real_type > & | g | ) |
Create 3d jump in x-direction.
g | The grid on which to create jump (boundary condition is taken from here) |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpX | ( | const aRealMPITopology3d< real_type > & | g, |
bc | bcx | ||
) |
Create a 3d jump in the x-direction for mpi.
g | A 3D mpi grid |
bcx | boundary condition |
EllSparseBlockMat< real_type > dg::create::jumpX | ( | const aRealTopology2d< real_type > & | g | ) |
Matrix that contains 2d jump terms in X direction taking boundary conditions from the grid.
g | grid |
EllSparseBlockMat< real_type > dg::create::jumpX | ( | const aRealTopology2d< real_type > & | g, |
bc | bcx | ||
) |
Matrix that contains 2d jump terms in X direction.
g | grid |
bcx | boundary condition in x |
EllSparseBlockMat< real_type > dg::create::jumpX | ( | const aRealTopology3d< real_type > & | g | ) |
Matrix that contains 3d jump terms in X direction taking boundary conditions from the grid.
g | grid |
EllSparseBlockMat< real_type > dg::create::jumpX | ( | const aRealTopology3d< real_type > & | g, |
bc | bcx | ||
) |
Matrix that contains jump terms in X direction in 3D.
g | The 3D grid |
bcx | boundary condition in x |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpX | ( | const aRealTopologyX2d< real_type > & | g | ) |
Matrix that contains 2d jump terms in X direction taking boundary conditions from the grid.
g | grid |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpX | ( | const aRealTopologyX2d< real_type > & | g, |
bc | bcx | ||
) |
Matrix that contains 2d jump terms in X direction.
g | grid |
bcx | boundary condition in x |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpX | ( | const aRealTopologyX3d< real_type > & | g | ) |
Matrix that contains 3d jump terms in X direction taking boundary conditions from the grid.
g | grid |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpX | ( | const aRealTopologyX3d< real_type > & | g, |
bc | bcx | ||
) |
Matrix that contains jump terms in X direction in 3D.
g | The 3D grid |
bcx | boundary condition in x |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpY | ( | const aRealMPITopology2d< real_type > & | g | ) |
Create 2d jump in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpY | ( | const aRealMPITopology2d< real_type > & | g, |
bc | bcy | ||
) |
Create a 2d jump in the y-direction for mpi.
g | A 2D mpi grid |
bcy | boundary condition |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpY | ( | const aRealMPITopology3d< real_type > & | g | ) |
Create 3d jump in y-direction.
g | The grid on which to create dy (boundary condition is taken from here) |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpY | ( | const aRealMPITopology3d< real_type > & | g, |
bc | bcy | ||
) |
Create a 3d jump in the y-direction for mpi.
g | A 3D mpi grid |
bcy | boundary condition |
EllSparseBlockMat< real_type > dg::create::jumpY | ( | const aRealTopology2d< real_type > & | g | ) |
Matrix that contains 2d jump terms in Y direction taking boundary conditions from the grid.
g | grid |
EllSparseBlockMat< real_type > dg::create::jumpY | ( | const aRealTopology2d< real_type > & | g, |
bc | bcy | ||
) |
Matrix that contains 2d jump terms in Y direction.
g | grid |
bcy | boundary condition in y |
EllSparseBlockMat< real_type > dg::create::jumpY | ( | const aRealTopology3d< real_type > & | g | ) |
Matrix that contains 3d jump terms in Y direction taking boundary conditions from the grid.
g | grid |
EllSparseBlockMat< real_type > dg::create::jumpY | ( | const aRealTopology3d< real_type > & | g, |
bc | bcy | ||
) |
Matrix that contains jump terms in Y direction in 3D.
g | The 3D grid |
bcy | boundary condition in y |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpY | ( | const aRealTopologyX2d< real_type > & | g | ) |
Matrix that contains 2d jump terms in Y direction taking boundary conditions from the grid.
g | grid |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpY | ( | const aRealTopologyX2d< real_type > & | g, |
bc | bcy | ||
) |
Matrix that contains 2d jump terms in Y direction.
g | grid |
bcy | boundary condition in y |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpY | ( | const aRealTopologyX3d< real_type > & | g | ) |
Matrix that contains 3d jump terms in Y direction taking boundary conditions from the grid.
g | grid |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpY | ( | const aRealTopologyX3d< real_type > & | g, |
bc | bcy | ||
) |
Matrix that contains jump terms in Y direction in 3D.
g | The 3D grid |
bcy | boundary condition in y |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpZ | ( | const aRealMPITopology3d< real_type > & | g | ) |
Create 3d jump in z-direction.
g | The grid on which to create dz (boundary condition is taken from here) |
RowColDistMat< EllSparseBlockMat< real_type >, CooSparseBlockMat< real_type >, NNCH< real_type > > dg::create::jumpZ | ( | const aRealMPITopology3d< real_type > & | g, |
bc | bcz | ||
) |
Create a 3d jump in the z-direction for mpi.
g | A 3D mpi grid |
bcz | boundary condition |
EllSparseBlockMat< real_type > dg::create::jumpZ | ( | const aRealTopology3d< real_type > & | g | ) |
Matrix that contains 3d jump terms in Z direction taking boundary conditions from the grid.
g | grid |
EllSparseBlockMat< real_type > dg::create::jumpZ | ( | const aRealTopology3d< real_type > & | g, |
bc | bcz | ||
) |
Matrix that contains jump terms in Z direction in 3D.
g | The 3D grid |
bcz | boundary condition in z |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpZ | ( | const aRealTopologyX3d< real_type > & | g | ) |
Matrix that contains 3d jump terms in Z direction taking boundary conditions from the grid.
g | grid |
Composite< EllSparseBlockMat< real_type > > dg::create::jumpZ | ( | const aRealTopologyX3d< real_type > & | g, |
bc | bcz | ||
) |
Matrix that contains jump terms in Z direction in 3D.
g | The 3D grid |
bcz | boundary condition in z |
|
inlinestatic |
convert a string to a bc
converts
s | the input string |
std::runtime_error | if string doesn't match any of the above |
|
inlinestatic |
convert a string to a direction
converts
s | the input string |
std::runtime_error | if string doesn't match any of the above |