Doxygen API reference documentation for ideal.II
Public Member Functions | List of all members
idealii::slab::parallel::distributed::Triangulation< dim > Class Template Reference

Actual Triangulation for a specific slab with an MPI distributed spatial mesh. More...

#include <slab_tria.hh>

Public Member Functions

 Triangulation (std::shared_ptr< dealii::parallel::distributed::Triangulation< dim >> space_tria, double startpoint, double endpoint)
 Construct an object with a given spatial triangulation and a single element in time. More...
 
 Triangulation (std::shared_ptr< dealii::parallel::distributed::Triangulation< dim >> space_tria, std::vector< double > step_sizes, double startpoint, double endpoint)
 Construct an object with a given spatial triangulation and a given division of elements in time. More...
 
 Triangulation (const Triangulation &other)
 (shallow) copy constructor. Only the values for the start- and endpoint are actually copied. The underlying pointers will point to the same dealii::Triangulation objects as other. More...
 
std::shared_ptr< dealii::parallel::distributed::Triangulation< dim > > spatial ()
 The underlying spatial triangulation.
 
std::shared_ptr< dealii::Triangulation< 1 > > temporal ()
 The underlying temporal triangulation.
 
double startpoint ()
 The startpoint of the temporal triangulation.
 
double endpoint ()
 The endpoint of the temporal triangulation.
 
void update_temporal_triangulation (std::vector< double > step_sizes, double startpoint, double endpoint)
 Change the temporal triangulation to the given division. More...
 

Detailed Description

template<int dim>
class idealii::slab::parallel::distributed::Triangulation< dim >

Actual Triangulation for a specific slab with an MPI distributed spatial mesh.

This Triangulation handles a spatial dealii::parallel::distributed and a temporal dealii::Triangulation object internally.

Constructor & Destructor Documentation

◆ Triangulation() [1/3]

template<int dim>
idealii::slab::parallel::distributed::Triangulation< dim >::Triangulation ( std::shared_ptr< dealii::parallel::distributed::Triangulation< dim >>  space_tria,
double  startpoint,
double  endpoint 
)

Construct an object with a given spatial triangulation and a single element in time.

Parameters
space_triaThe spatial triangulation to be used.
startpointThe startpoint of the temporal triangulation.
endpointThe endpoint of the temporal triangulation.

◆ Triangulation() [2/3]

template<int dim>
idealii::slab::parallel::distributed::Triangulation< dim >::Triangulation ( std::shared_ptr< dealii::parallel::distributed::Triangulation< dim >>  space_tria,
std::vector< double >  step_sizes,
double  startpoint,
double  endpoint 
)

Construct an object with a given spatial triangulation and a given division of elements in time.

Parameters
space_tria.The spatial triangulation to be used.
step_sizes.The sizes of the temporal elements
startpoint.The startpoint of the temporal triangulation.
endpoint.The endpoint of the temporal triangulation.

◆ Triangulation() [3/3]

template<int dim>
idealii::slab::parallel::distributed::Triangulation< dim >::Triangulation ( const Triangulation< dim > &  other)

(shallow) copy constructor. Only the values for the start- and endpoint are actually copied. The underlying pointers will point to the same dealii::Triangulation objects as other.

Parameters
otherThe Triangulation to shallow copy.
Warning
This method is mainly needed for adding the Triangulations to the spacetime lists and should be used with utmost caution anywhere else.

Member Function Documentation

◆ update_temporal_triangulation()

template<int dim>
void idealii::slab::parallel::distributed::Triangulation< dim >::update_temporal_triangulation ( std::vector< double >  step_sizes,
double  startpoint,
double  endpoint 
)

Change the temporal triangulation to the given division.

Parameters
step_sizes.The sizes of the temporal elements
startpoint.The startpoint of the temporal triangulation.
endpoint.The endpoint of the temporal triangulation.
Warning
Due to a call to clear() of the temporal triangulation no subscriptions can exist to it, such as DoFHandler.

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