![]() |
#include <ElementData.h>
Collaboration diagram for dolfin::ElementData:
Public Member Functions | |
ElementData (int N) | |
Constructor. | |
~ElementData () | |
Destructor. | |
Element * | createElement (Element::Type type, unsigned int q, unsigned int index, real t0, real t1) |
Create a new element. | |
Element * | element (unsigned int i, real t) |
Return element for given component at given time (null if not found). | |
Element * | first (unsigned int i) |
Return first element element for given component (null if no elements). | |
Element * | last (unsigned int i) |
Return last element for given component (null if no elements). | |
void | shift () |
Notify that this might be a good time to move to next block. | |
void | save () |
Save data to disk. | |
void | dropLast () |
Drop last block. | |
unsigned int | size () const |
Return number of components. | |
bool | within (real t) const |
Check if given time is within the range of data. |
ElementData - ElementBlock - Component - Element
A temporary file is used to store data whenever the amount of data exceeds the specified cache size.
|
Constructor.
|
|
Destructor.
|
|
Create a new element.
|
|
Drop last block.
|
|
Return element for given component at given time (null if not found).
|
|
Return first element element for given component (null if no elements).
|
|
Return last element for given component (null if no elements).
|
|
Save data to disk.
|
|
Notify that this might be a good time to move to next block.
|
|
Return number of components.
|
|
Check if given time is within the range of data.
|
Documentation automatically generated with Doxygen on 10 Sep 2004.