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