Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::Sample Class Reference

Sample of values at a given point. More...

#include <Sample.h>

Inheritance diagram for dolfin::Sample:

Inheritance graph
[legend]
Collaboration diagram for dolfin::Sample:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sample (Solution &solution, RHS &f, real t)
 Constructor.

 ~Sample ()
 Destructor.

unsigned int size () const
 Return number of components.

real t () const
 Return time t.

real u (unsigned int index)
 Return value of component with given index.

real k (unsigned int index)
 Return time step for component with given index.

real r (unsigned int index)
 Return residual for component with given index.


Detailed Description

Sample of values at a given point.


Constructor & Destructor Documentation

Sample::Sample Solution solution,
RHS f,
real  t
 

Constructor.

Sample::~Sample  ) 
 

Destructor.


Member Function Documentation

real Sample::k unsigned int  index  ) 
 

Return time step for component with given index.

real Sample::r unsigned int  index  ) 
 

Return residual for component with given index.

unsigned int Sample::size  )  const
 

Return number of components.

real Sample::t  )  const
 

Return time t.

real Sample::u unsigned int  index  ) 
 

Return value of component with given index.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.