Extension: Geometries
#include "dg/geometries/geometries.h"
make_field.h File Reference
#include "magnetic_field.h"
#include "solovev.h"
#include "guenter.h"
#include "polynomial.h"
#include "toroidal.h"
#include "fieldaligned.h"
#include <dg/file/json_utilities.h>

Go to the source code of this file.

Namespaces

namespace  dg
 
namespace  dg::geo
 

Functions

static TokamakMagneticField dg::geo::createMagneticField (dg::file::WrappedJsonValue gs)
 Create a Magnetic field based on the given parameters. More...
 
static TokamakMagneticField dg::geo::createModifiedField (dg::file::WrappedJsonValue gs, dg::file::WrappedJsonValue jsmod, CylindricalFunctor &wall, CylindricalFunctor &transition)
 Modify Magnetic Field and create wall above or below certain Psi values according to given parameters. More...
 
static CylindricalFunctor dg::geo::createWallRegion (dg::file::WrappedJsonValue gs, dg::file::WrappedJsonValue jsmod)
 A convenience function call for dg::geo::createModifiedField that ignores the transition parameter and returns the wall. More...
 
static void dg::geo::createSheathRegion (dg::file::WrappedJsonValue jsmod, TokamakMagneticField mag, CylindricalFunctor wall, dg::Grid2d &sheath_walls, CylindricalFunctor &sheath)
 Create the sheath region where fieldlines intersect the boundary. More...
 

Detailed Description

Making of penalization regions