dune-alugrid  2.6-git
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > > Struct Template Reference

#include <dune/alugrid/dgf.hh>

Inheritance diagram for Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >:
Inheritance graph

Public Types

typedef ALUGrid< dim, dimw, eltype, refinementtype, Comm > DGFGridType
 
typedef DGFBaseFactory< DGFGridTypeBaseType
 
typedef BaseType ::MPICommunicatorType MPICommunicatorType
 
typedef ALUGrid< dim, dimw, eltype, refinementtype, Comm > Grid
 
typedef Grid::template Codim< 0 >::Entity Element
 
typedef Grid::template Codim< dimension >::Entity Vertex
 
typedef Dune::GridFactory< GridGridFactory
 

Public Member Functions

 DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
 
 DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
 
Gridgrid () const
 
bool wasInserted (const Intersection &intersection) const
 
int boundaryId (const Intersection< GG, II > &intersection) const
 
const DGFBoundaryParameter::type & boundaryParameter (const Intersection< GG, II > &intersection) const
 
int numParameters () const
 
bool haveBoundaryParameters () const
 
std::vector< double > & parameter (const Element &element)
 
std::vector< double > & parameter (const Vertex &vertex)
 

Static Public Attributes

static const int dimension
 

Protected Member Functions

bool generate (std::istream &file, MPICommunicatorType comm, const std::string &filename="")
 
bool generateALUGrid (const ALUGridElementType eltype, std::istream &file, MPICommunicatorType communicator, const std::string &filename)
 

Static Protected Member Functions

static GridcallDirectly (const std::string &gridname, const int rank, const char *filename, MPICommunicatorType communicator)
 
static bool fileExists (const char *fileName)
 
static int rank (MPICommunicatorType MPICOMM)
 
static int size (MPICommunicatorType MPICOMM)
 

Protected Attributes

Gridgrid_
 
GridFactory factory_
 
DuneGridFormatParser dgf_
 

Member Typedef Documentation

◆ BaseType

template<int dim, int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef DGFBaseFactory< DGFGridType > Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::BaseType

◆ DGFGridType

template<int dim, int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef ALUGrid< dim, dimw, eltype, refinementtype, Comm > Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::DGFGridType

◆ Element

typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::Element
inherited

◆ Grid

typedef ALUGrid< dim, dimw, eltype, refinementtype, Comm > Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::Grid
inherited

◆ GridFactory

typedef Dune::GridFactory<Grid> Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::GridFactory
inherited

◆ MPICommunicatorType

template<int dim, int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef BaseType :: MPICommunicatorType Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::MPICommunicatorType

◆ Vertex

typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::Vertex
inherited

Constructor & Destructor Documentation

◆ DGFGridFactory() [1/2]

template<int dim, int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::DGFGridFactory ( std::istream &  input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

◆ DGFGridFactory() [2/2]

template<int dim, int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

Member Function Documentation

◆ boundaryId()

int Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::boundaryId ( const Intersection< GG, II > &  intersection) const
inlineinherited

◆ boundaryParameter()

const DGFBoundaryParameter::type& Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::boundaryParameter ( const Intersection< GG, II > &  intersection) const
inlineinherited

◆ callDirectly()

static Grid* Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::callDirectly ( const std::string &  gridname,
const int  rank,
const char *  filename,
MPICommunicatorType  communicator 
)
inlinestaticprotectedinherited

◆ fileExists()

static bool Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::fileExists ( const char *  fileName)
inlinestaticprotectedinherited

◆ generate()

template<int dim, int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
bool Dune::DGFGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::generate ( std::istream &  file,
MPICommunicatorType  comm,
const std::string &  filename = "" 
)
inlineprotected

◆ generateALUGrid()

bool Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::generateALUGrid ( const ALUGridElementType  eltype,
std::istream &  file,
MPICommunicatorType  communicator,
const std::string &  filename 
)
inlineprotectedinherited

◆ grid()

Grid* Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::grid ( ) const
inlineinherited

◆ haveBoundaryParameters()

bool Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::haveBoundaryParameters ( ) const
inlineinherited

◆ numParameters()

int Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::numParameters ( ) const
inlineinherited

◆ parameter() [1/2]

std::vector< double >& Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::parameter ( const Element element)
inlineinherited

◆ parameter() [2/2]

std::vector< double >& Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::parameter ( const Vertex vertex)
inlineinherited

◆ rank()

static int Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::rank ( MPICommunicatorType  MPICOMM)
inlinestaticprotectedinherited

◆ size()

static int Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::size ( MPICommunicatorType  MPICOMM)
inlinestaticprotectedinherited

◆ wasInserted()

bool Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::wasInserted ( const Intersection &  intersection) const
inlineinherited

Member Data Documentation

◆ dgf_

DuneGridFormatParser Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::dgf_
protectedinherited

◆ dimension

const int Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::dimension
staticinherited

◆ factory_

GridFactory Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::factory_
protectedinherited

◆ grid_

Grid* Dune::DGFBaseFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::grid_
protectedinherited

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