DOpE
Public Member Functions
DOpE::TimeDoFHandler Class Reference

#include <timedofhandler.h>

Inheritance diagram for DOpE::TimeDoFHandler:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

DOpE::TimeDoFHandler::TimeDoFHandler ( )
inline
DOpE::TimeDoFHandler::TimeDoFHandler ( const Triangulation< 1 > &  tria,
const dealii::FiniteElement< 1 > &  fe 
)
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.

DOpE::TimeDoFHandler::TimeDoFHandler ( const Triangulation< 1 > &  tria)
inline
DOpE::TimeDoFHandler::~TimeDoFHandler ( )
inline

Member Function Documentation

TimeIterator DOpE::TimeDoFHandler::after_last_interval ( ) const
inline

Returns an active_cell_iterator pointing to the element after(!) the last time_interval.

TimeIterator DOpE::TimeDoFHandler::before_first_interval ( ) const
inline

Returns an TimeIterator pointing to the element before(!) the first time_interval.

void DOpE::TimeDoFHandler::distribute_dofs ( )
inline

Go through the triangulation and distribute the degrees of freedoms needed for the given finite element.

TimeIterator DOpE::TimeDoFHandler::first_interval ( ) const
inline

Returns an TimeIterator pointing to the first time_interval.

unsigned int DOpE::TimeDoFHandler::GetLocalNbrOfDoFs ( ) const
inline

Returns the number of dofs per interval.

unsigned int DOpE::TimeDoFHandler::GetNbrOfDoFs ( ) const
inline

Returns the number of dofs.

unsigned int DOpE::TimeDoFHandler::GetNbrOfIntervals ( ) const
inline

Returns the number of intervals

double DOpE::TimeDoFHandler::GetTime ( unsigned int  timestep)
inline

Returns the position of the given timedof.

const std::vector<double>& DOpE::TimeDoFHandler::GetTimes ( ) const
inline

Returns a vector containing the position of the dofs.

void DOpE::TimeDoFHandler::GetTimes ( const TimeIterator interval,
std::vector< double > &  local_times 
) const
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!

TimeIterator DOpE::TimeDoFHandler::last_interval ( ) const
inline

Returns an active_cell_iterator pointing to the last time_interval.


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