deal2lkit: A ToolKit library for Deal.II
PGGHelper Struct Reference

Parsed Grid Generator Helper. More...

Static Public Member Functions

template<int dim, int spacedim>
static void default_create_grid (ParsedGridGenerator< dim, spacedim > *p, Triangulation< dim, spacedim > &tria)
 This function is used to generate grids when there are no restriction on the template parameters. More...
 
template<int dim>
static void create_grid (ParsedGridGenerator< dim, dim+1 > *p, Triangulation< dim, dim+1 > &tria, typename std::enable_if<(dim< 3), void **>::type=0)
 This function is used to generate grids when spacedim = dim + 1. More...
 
template<int dim>
static void create_grid (ParsedGridGenerator< dim, dim > *p, Triangulation< dim, dim > &tria)
 This function is used to generate grids when spacedim = dim. More...
 
static void create_grid (ParsedGridGenerator< 3 > *p, Triangulation< 3, 3 > &tria)
 This function is used to generate grids when spacedim = dim = 3. More...
 
static void create_grid (ParsedGridGenerator< 2, 3 > *p, Triangulation< 2, 3 > &tria)
 This function is used to generate grids when dim = 2 and spacedim = 3. More...
 
static shared_ptr< Manifold< 3 > > create_manifold (ParsedGridGenerator< 3 > *p, const std::string &name)
 Prototype function for creating new manifolds from a name and a pgg. More...
 
static shared_ptr< Manifold< 2, 3 > > create_manifold (ParsedGridGenerator< 2, 3 > *p, const std::string &name)
 
template<int dim>
static shared_ptr< Manifold< dim > > create_manifold (ParsedGridGenerator< dim > *p, const std::string &name)
 Prototype function for creating new manifolds from a name and a pgg. More...
 
template<int dim>
static shared_ptr< Manifold< dim, dim+1 > > create_manifold (ParsedGridGenerator< dim, dim+1 > *p, const std::string &name, typename std::enable_if<(dim< 3), void **>::type=0)
 Prototype function for creating new manifolds from a name and a pgg. More...
 
template<int dim, int spacedim>
static shared_ptr< Manifold< dim, spacedim > > default_create_manifold (ParsedGridGenerator< dim, spacedim > *p, const std::string &name)
 Prototype function for creating new manifolds from a name and a pgg. More...
 

Detailed Description

Parsed Grid Generator Helper.

This class only contains static members and is declared friend of ParsedGridGenerator, to allow creation of grids in different dimensions and spacedimensions. It is required in order to allow for semi-automatic partial specializations.

Definition at line 382 of file parsed_grid_generator.cc.

Member Function Documentation

§ create_grid() [1/4]

template<int dim>
static void PGGHelper::create_grid ( ParsedGridGenerator< dim, dim+1 > *  p,
Triangulation< dim, dim+1 > &  tria 
)
inlinestatic

This function is used to generate grids when spacedim = dim + 1.

Definition at line 452 of file parsed_grid_generator.cc.

§ create_grid() [2/4]

template<int dim>
static void PGGHelper::create_grid ( ParsedGridGenerator< dim, dim > *  p,
Triangulation< dim, dim > &  tria 
)
inlinestatic

This function is used to generate grids when spacedim = dim.

Definition at line 476 of file parsed_grid_generator.cc.

§ create_grid() [3/4]

static void PGGHelper::create_grid ( ParsedGridGenerator< 3 > *  p,
Triangulation< 3, 3 > &  tria 
)
inlinestatic

This function is used to generate grids when spacedim = dim = 3.

Definition at line 602 of file parsed_grid_generator.cc.

§ create_grid() [4/4]

static void PGGHelper::create_grid ( ParsedGridGenerator< 2, 3 > *  p,
Triangulation< 2, 3 > &  tria 
)
inlinestatic

This function is used to generate grids when dim = 2 and spacedim = 3.

Definition at line 623 of file parsed_grid_generator.cc.

§ create_manifold() [1/4]

static shared_ptr<Manifold<3> > PGGHelper::create_manifold ( ParsedGridGenerator< 3 > *  p,
const std::string &  name 
)
inlinestatic

Prototype function for creating new manifolds from a name and a pgg.

Codimension zero case.

Definition at line 674 of file parsed_grid_generator.cc.

§ create_manifold() [2/4]

static shared_ptr<Manifold<2,3> > PGGHelper::create_manifold ( ParsedGridGenerator< 2, 3 > *  p,
const std::string &  name 
)
inlinestatic

Definition at line 734 of file parsed_grid_generator.cc.

§ create_manifold() [3/4]

template<int dim>
static shared_ptr<Manifold<dim> > PGGHelper::create_manifold ( ParsedGridGenerator< dim > *  p,
const std::string &  name 
)
inlinestatic

Prototype function for creating new manifolds from a name and a pgg.

Codimension zero case.

Definition at line 785 of file parsed_grid_generator.cc.

§ create_manifold() [4/4]

template<int dim>
static shared_ptr<Manifold<dim,dim+1> > PGGHelper::create_manifold ( ParsedGridGenerator< dim, dim+1 > *  p,
const std::string &  name 
)
inlinestatic

Prototype function for creating new manifolds from a name and a pgg.

Codimension one case.

Definition at line 813 of file parsed_grid_generator.cc.

§ default_create_grid()

template<int dim, int spacedim>
static void PGGHelper::default_create_grid ( ParsedGridGenerator< dim, spacedim > *  p,
Triangulation< dim, spacedim > &  tria 
)
inlinestatic

This function is used to generate grids when there are no restriction on the template parameters.

This is the reason it is called inside the following functions (create_grid).

Definition at line 391 of file parsed_grid_generator.cc.

§ default_create_manifold()

template<int dim, int spacedim>
static shared_ptr<Manifold<dim,spacedim> > PGGHelper::default_create_manifold ( ParsedGridGenerator< dim, spacedim > *  p,
const std::string &  name 
)
inlinestatic

Prototype function for creating new manifolds from a name and a pgg.

Definition at line 840 of file parsed_grid_generator.cc.


The documentation for this struct was generated from the following file: