Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
\( \sqrt{g} \) More...
Functions | |
template<class Geometry > | |
get_host_vector< Geometry > | dg::create::volume (const Geometry &g) |
Create the volume element on the grid (including weights!!) More... | |
template<class Geometry > | |
get_host_vector< Geometry > | dg::create::inv_volume (const Geometry &g) |
Create the inverse volume element on the grid (including weights!!) More... | |
\( \sqrt{g} \)
get_host_vector< Geometry > dg::create::inv_volume | ( | const Geometry & | g | ) |
Create the inverse volume element on the grid (including weights!!)
This is the same as the inv_weights divided by the volume form \( \sqrt{g}\)
Geometry | A type that is or derives from one of the abstract geometry base classes ( aGeometry2d , aGeometry3d , aMPIGeometry2d , ...). |
g | Geometry object |
get_host_vector< Geometry > dg::create::volume | ( | const Geometry & | g | ) |
Create the volume element on the grid (including weights!!)
This is the same as the weights multiplied by the volume form \( \sqrt{g}\)
Geometry | A type that is or derives from one of the abstract geometry base classes ( aGeometry2d , aGeometry3d , aMPIGeometry2d , ...). |
g | Geometry object |