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

Actual Triangulation for a specific slab. More...

#include <slab_tria.hh>

Public Member Functions

 Triangulation (std::shared_ptr< dealii::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::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::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::Triangulation< dim >

Actual Triangulation for a specific slab.

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

Constructor & Destructor Documentation

◆ Triangulation() [1/3]

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

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

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

◆ Triangulation() [2/3]

template<int dim>
idealii::slab::Triangulation< dim >::Triangulation ( std::shared_ptr< dealii::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::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::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: