|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
macrogrid.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
82 const char* /*filename*/, [[maybe_unused]] MPICommunicatorType MPICOMM = MPIHelper::getCommunicator() )
85 static_assert( hasDGFFactory, "DGF grid factory missing. Did you forget to add the corresponding dgf header?");
96 struct ImplHasDGFFactory<T, std::void_t<decltype(Impl<T>::hasDGFFactory)> > : std::bool_constant<Impl<T>::hasDGFFactory> {};
99 template<class GridType> static constexpr bool noDGFFactory = !ImplHasDGFFactory<GridType>::value;
int size() const
typename Impl::voider< Types... >::type void_t
STL namespace.
Include standard header files.
MPI_Comm MPICommunicator
static MPICommunicator getCommunicator()
Definition dgfgridfactory.hh:38
Definition macrogrid.hh:23
MacroGrid(const char *filename, MPICommunicatorType MPICOMM=MPIHelper::getCommunicator())
constructor given the name of a DGF file
Definition macrogrid.hh:32
MacroGrid(MPICommunicatorType MPICOMM=MPIHelper::getCommunicator())
constructor given the name of a DGF file
Definition macrogrid.hh:38
GridType * createGrid()
returns pointer to a new instance of type GridType created from a DGF file
Definition macrogrid.hh:45
MPIHelper::MPICommunicator MPICommunicatorType
Definition macrogrid.hh:28
The DuneGridFormatParser class: reads a DGF file and stores build information in vector structures us...
Definition parser.hh:47
T generate(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8