dune-grid
2.2.0
|
#include <dune/grid/io/file/dgfparser/dgfalu.hh>
Public Types | |
typedef DGFBaseFactory < ALUSimplexGrid< 2, dimw > > | Base |
typedef Base::MPICommunicatorType | MPICommunicatorType |
typedef Base::Grid | Grid |
typedef Base::GridFactory | GridFactory |
typedef Grid::template Codim < 0 >::Entity | Element |
typedef Grid::template Codim < dimension >::Entity | Vertex |
Public Member Functions | |
DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator()) | |
DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator()) | |
Grid * | grid () 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 = Grid::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) |
bool | generateALU2dGrid (const ALUGridElementType eltype, std::istream &file, MPICommunicatorType communicator, const std::string &filename) |
Static Protected Member Functions | |
static Grid * | callDirectly (const char *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 | |
Grid * | grid_ |
GridFactory | factory_ |
DuneGridFormatParser | dgf_ |
typedef DGFBaseFactory< ALUSimplexGrid<2,dimw> > Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::Base |
typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::Element [inherited] |
typedef Base::Grid Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::Grid |
Reimplemented from Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >.
typedef Base::GridFactory Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::GridFactory |
Reimplemented from Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >.
typedef Base::MPICommunicatorType Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::MPICommunicatorType |
Reimplemented from Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >.
typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::Vertex [inherited] |
Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::DGFGridFactory | ( | std::istream & | input, |
MPICommunicatorType | comm = MPIHelper::getCommunicator() |
||
) | [inline, explicit] |
Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::DGFGridFactory | ( | const std::string & | filename, |
MPICommunicatorType | comm = MPIHelper::getCommunicator() |
||
) | [inline, explicit] |
int Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::boundaryId | ( | const Intersection< GG, II > & | intersection | ) | const [inline, inherited] |
const DGFBoundaryParameter::type& Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::boundaryParameter | ( | const Intersection< GG, II > & | intersection | ) | const [inline, inherited] |
static Grid* Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::callDirectly | ( | const char * | gridname, |
const int | rank, | ||
const char * | filename, | ||
MPICommunicatorType | communicator | ||
) | [inline, static, protected, inherited] |
static bool Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::fileExists | ( | const char * | fileName | ) | [inline, static, protected, inherited] |
bool Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::generate | ( | std::istream & | file, |
MPICommunicatorType | comm, | ||
const std::string & | filename = "" |
||
) | [protected] |
bool Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::generateALU2dGrid | ( | const ALUGridElementType | eltype, |
std::istream & | file, | ||
MPICommunicatorType | communicator, | ||
const std::string & | filename | ||
) | [protected, inherited] |
bool Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::generateALUGrid | ( | const ALUGridElementType | eltype, |
std::istream & | file, | ||
MPICommunicatorType | communicator, | ||
const std::string & | filename | ||
) | [protected, inherited] |
Grid* Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::grid | ( | ) | const [inline, inherited] |
bool Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::haveBoundaryParameters | ( | ) | const [inline, inherited] |
int Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::numParameters | ( | ) | const [inline, inherited] |
std::vector< double >& Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::parameter | ( | const Element & | element | ) | [inline, inherited] |
std::vector< double >& Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::parameter | ( | const Vertex & | vertex | ) | [inline, inherited] |
static int Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::rank | ( | MPICommunicatorType | MPICOMM | ) | [inline, static, protected, inherited] |
static int Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::size | ( | MPICommunicatorType | MPICOMM | ) | [inline, static, protected, inherited] |
bool Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::wasInserted | ( | const Intersection & | intersection | ) | const [inline, inherited] |
DuneGridFormatParser Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::dgf_ [protected, inherited] |
const int Dune::DGFGridFactory< ALUSimplexGrid< 2, dimw > >::dimension = Grid::dimension [static] |
Reimplemented from Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >.
GridFactory Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::factory_ [protected, inherited] |
Grid* Dune::DGFBaseFactory< ALUSimplexGrid< 2, dimw > >::grid_ [protected, inherited] |