Doxygen API reference documentation for ideal.II
spacetime_dof_handler.hh
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2022 - 2023 by the ideal.II authors
4 //
5 // This file is part of the ideal.II library.
6 //
7 // The ideal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 3.0 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of ideal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef INCLUDE_IDEAL_II_DOFS_SPACETIME_DOF_HANDLER_HH_
17 #define INCLUDE_IDEAL_II_DOFS_SPACETIME_DOF_HANDLER_HH_
18 
19 #include <ideal.II/distributed/spacetime_tria.hh>
20 
21 #include <ideal.II/dofs/slab_dof_handler.hh>
22 
23 #include <ideal.II/grid/spacetime_tria.hh>
24 
25 namespace idealii::spacetime
26 {
33  template <int dim>
34  class DoFHandler
35  {
36  public:
43 
44 #ifdef DEAL_II_WITH_MPI
51 #endif
58  void
60 
65  unsigned int
66  M();
67 
73  begin();
79  end();
80 
81  protected:
82  Triangulation<dim> *_tria;
83 #ifdef DEAL_II_WITH_MPI
85 #endif
86  std::list<slab::DoFHandler<dim>> _dof_handlers;
87  };
88 } // namespace idealii::spacetime
89 
90 #endif /* INCLUDE_IDEAL_II_DOFS_FIXED_DOF_HANDLER_HH_ */
The spacetime dofhandler object.
Definition: spacetime_dof_handler.hh:35
void generate()
generate all slab::DofHandler objects.
DoFHandler(spacetime::parallel::distributed::Triangulation< dim > *tria)
Constructor based on parallel::distributed::spacetime::Triangulation.
slab::DoFHandlerIterator< dim > begin()
An iterator pointing to the first slab::DoFHandler.
DoFHandler(spacetime::Triangulation< dim > *tria)
Constructor based on spacetime::Triangulation.
unsigned int M()
The number of slabs.
slab::DoFHandlerIterator< dim > end()
An iterator pointing behind the last slab::DoFHandler.
The spacetime triangulation object.
Definition: spacetime_tria.hh:37
The spacetime triangulation object with MPI parallel distributed spatial meshes.
Definition: spacetime_tria.hh:39
typename std::list< DoFHandler< dim > >::iterator DoFHandlerIterator
A shortened type for iterators over a list of shared pointers to DoFHandler objects.
Definition: slab_dof_handler.hh:166
Namespace for general spacetime object and collections of slab objects.
Definition: idealii.hh:89