Doxygen API reference documentation for ideal.II
Public Member Functions | Protected Attributes | List of all members
idealii::spacetime::Triangulation< dim > Class Template Referenceabstract

The spacetime triangulation object. More...

#include <spacetime_tria.hh>

Inheritance diagram for idealii::spacetime::Triangulation< dim >:
Inheritance graph
[legend]

Public Member Functions

 Triangulation (dealii::types::global_cell_index max_N_intervals_per_slab=0)
 Constructor that initializes the underlying list object. More...
 
virtual void generate (std::shared_ptr< dealii::Triangulation< dim >> space_tria, unsigned int M, double t0=0., double T=1.)=0
 Generate a list of M slab triangulations with matching temporal meshes and space_tria. More...
 
unsigned int M ()
 Return the number of slabs in the triangulation.
 
slab::TriaIterator< dim > begin ()
 An iterator pointing to the first slab::Triangulation.
 
slab::TriaIterator< dim > end ()
 An iterator pointing behind the first slab::Triangulation.
 
virtual void refine_global (const unsigned int times_space=1, const unsigned int times_time=1)=0
 Do uniform mesh refinement in time and space. More...
 

Protected Attributes

dealii::types::global_cell_index max_N_intervals_per_slab
 
std::list< slab::Triangulation< dim > > trias
 

Detailed Description

template<int dim>
class idealii::spacetime::Triangulation< dim >

The spacetime triangulation object.

In practice this is just a class around a list of shared pointers to slab::Triangulation objects to simplify generation and time marching.

Note
This is a virtual base class.

Constructor & Destructor Documentation

◆ Triangulation()

template<int dim>
idealii::spacetime::Triangulation< dim >::Triangulation ( dealii::types::global_cell_index  max_N_intervals_per_slab = 0)

Constructor that initializes the underlying list object.

Parameters
max_N_intervals_per_slab.When to split a slab into two. (default 0 = never)

Member Function Documentation

◆ generate()

template<int dim>
virtual void idealii::spacetime::Triangulation< dim >::generate ( std::shared_ptr< dealii::Triangulation< dim >>  space_tria,
unsigned int  M,
double  t0 = 0.,
double  T = 1. 
)
pure virtual

Generate a list of M slab triangulations with matching temporal meshes and space_tria.

Parameters
space_triaThe underlying spatial dealii::parallel::distributed::Triangulation.
MThe number of slabs to be created.
t0The temporal startpoint. Defaults to 0.
TThe temporal endpoint. Defaults to 1.

◆ refine_global()

template<int dim>
virtual void idealii::spacetime::Triangulation< dim >::refine_global ( const unsigned int  times_space = 1,
const unsigned int  times_time = 1 
)
pure virtual

Do uniform mesh refinement in time and space.

Parameters
times_spaceNumber of times the spatial meshes are refined.
times_timeNumber of times the temporal meshes are refined.

Implemented in idealii::spacetime::fixed::Triangulation< dim >.


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