DOpE
|
#include <timedofhandler.h>
Public Member Functions | |
TimeDoFHandler () | |
TimeDoFHandler (const Triangulation< 1 > &tria, const dealii::FiniteElement< 1 > &fe) | |
TimeDoFHandler (const Triangulation< 1 > &tria) | |
~TimeDoFHandler () | |
void | distribute_dofs () |
unsigned int | GetNbrOfIntervals () const |
unsigned int | GetNbrOfDoFs () const |
const std::vector< double > & | GetTimes () const |
void | GetTimes (const TimeIterator &interval, std::vector< double > &local_times) const |
double | GetTime (unsigned int timestep) |
TimeIterator | first_interval () const |
TimeIterator | before_first_interval () const |
TimeIterator | last_interval () const |
TimeIterator | after_last_interval () const |
unsigned int | GetLocalNbrOfDoFs () const |
TODO 1) make sure that the dofs get renumbered from left to right from 0 to n_dofs! It is implemented, but is has to get tested. 2) Interpolation after temporal refinement in the dofhandlers!. 3) At the moment, one is not able to change the Finite Element, because we are currently only looking at timestep methods. DoFHandler responsible for the management of the timedofs.
|
inline |
|
inline |
TODO for later uses, if one wants to use galerkin methods. On top of that, we should get the fe from the timestepping problem.
|
inline |
|
inline |
|
inline |
Returns an active_cell_iterator pointing to the element after(!) the last time_interval.
|
inline |
Returns an TimeIterator pointing to the element before(!) the first time_interval.
|
inline |
Go through the triangulation and distribute the degrees of freedoms needed for the given finite element.
|
inline |
Returns an TimeIterator pointing to the first time_interval.
|
inline |
Returns the number of dofs per interval.
|
inline |
Returns the number of dofs.
|
inline |
Returns the number of intervals
|
inline |
Returns the position of the given timedof.
|
inline |
Returns a vector containing the position of the dofs.
|
inline |
Given an interval, this function writes the global position of the dofs in the interval into the vector local_times. It is assumed that local_times has the right length beforehand!
|
inline |
Returns an active_cell_iterator pointing to the last time_interval.