Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
Dune::GridConstruction< GridType, 2 > Struct Template Reference

Specialisation for dim==2. More...

#include <dune/fufem/utilities/gridconstruction.hh>

Public Types

using ctype = typename GridType::ctype
 
using FV = FieldVector< ctype, dim >
 

Static Public Member Functions

static std::unique_ptr< GridType > createGrid (const ParameterTree &config)
 Create various grids.
 
static std::unique_ptr< GridType > createRectangle (const ParameterTree &config)
 Create a rectangular grid.
 
static std::unique_ptr< GridType > createCircle (const ParameterTree &config)
 Create a circular grid.
 

Static Public Attributes

static const int dim =GridType::dimension
 

Detailed Description

template<class GridType>
struct Dune::GridConstruction< GridType, 2 >

Specialisation for dim==2.

Member Typedef Documentation

◆ ctype

template<class GridType >
using Dune::GridConstruction< GridType, 2 >::ctype = typename GridType::ctype

◆ FV

template<class GridType >
using Dune::GridConstruction< GridType, 2 >::FV = FieldVector<ctype,dim>

Member Function Documentation

◆ createCircle()

template<class GridType >
static std::unique_ptr< GridType > Dune::GridConstruction< GridType, 2 >::createCircle ( const ParameterTree config)
inlinestatic

Create a circular grid.

◆ createGrid()

template<class GridType >
static std::unique_ptr< GridType > Dune::GridConstruction< GridType, 2 >::createGrid ( const ParameterTree config)
inlinestatic

Create various grids.

Parameters
config- Parameter file specifying additional parameter

◆ createRectangle()

template<class GridType >
static std::unique_ptr< GridType > Dune::GridConstruction< GridType, 2 >::createRectangle ( const ParameterTree config)
inlinestatic

Create a rectangular grid.

Member Data Documentation

◆ dim

template<class GridType >
const int Dune::GridConstruction< GridType, 2 >::dim =GridType::dimension
static

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