Extension: Geometries
#include "dg/geometries/geometries.h"
fieldaligned.h File Reference
#include <cmath>
#include <array>
#include <cusp/csr_matrix.h>
#include "dg/algorithm.h"
#include "magnetic_field.h"
#include "fluxfunctions.h"
#include "curvilinear.h"

Go to the source code of this file.

Classes

struct  dg::geo::WallFieldlineDistance
 Distance to wall along fieldline in phi or s coordinate More...
 
struct  dg::geo::WallFieldlineCoordinate
 Normalized coordinate relative to wall along fieldline in phi or s coordinate. More...
 
struct  dg::geo::Fieldaligned< ProductGeometry, IMatrix, container >
 Create and manage interpolation matrices from fieldline integration. More...
 

Namespaces

namespace  dg
 
namespace  dg::geo
 

Typedefs

typedef ONE dg::geo::FullLimiter
 Full Limiter means there is a limiter everywhere. More...
 
typedef ZERO dg::geo::NoLimiter
 No Limiter. More...
 

Enumerations

enum  dg::geo::whichMatrix {
  dg::geo::einsPlus = 0 , dg::geo::einsPlusT , dg::geo::einsMinus , dg::geo::einsMinusT ,
  dg::geo::zeroPlus , dg::geo::zeroMinus , dg::geo::zeroPlusT , dg::geo::zeroMinusT ,
  dg::geo::zeroForw , dg::geo::einsPlus = 0 , dg::geo::einsPlusT , dg::geo::einsMinus ,
  dg::geo::einsMinusT , dg::geo::zeroPlus , dg::geo::zeroMinus , dg::geo::zeroPlusT ,
  dg::geo::zeroMinusT , dg::geo::zeroBack , dg::geo::einsPlus = 0 , dg::geo::einsPlusT ,
  dg::geo::einsMinus , dg::geo::einsMinusT , dg::geo::zeroPlus , dg::geo::zeroMinus ,
  dg::geo::zeroPlusT , dg::geo::zeroMinusT , dg::geo::zeroForw
}
 Enum for the use in Fieldaligned. More...
 

Functions

template<class BinaryOp , class UnaryOp >
thrust::host_vector< double > dg::geo::fieldaligned_evaluate (const aProductGeometry3d &grid, const CylindricalVectorLvl0 &vec, const BinaryOp &binary, const UnaryOp &unary, unsigned p0, unsigned rounds, double eps=1e-5)
 Evaluate a 2d functor and transform to all planes along the fieldlines More...