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

Benchmark Class Reference

Inheritance diagram for Benchmark:

Inheritance graph
[legend]
Collaboration diagram for Benchmark:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Benchmark (unsigned int n)
real x0 (unsigned int i)
 Return x-component of initial position for particle i.

real v0 (unsigned int i)
real Fx (unsigned int i, real t)
 Return x-component of the force on particle i at time t.

 Benchmark (unsigned int n, unsigned int M, real b)
real x0 (unsigned int i)
 Return x-component of initial position for particle i.

real vx0 (unsigned int i)
 Return x-component of initial velocity for particle i.

real Fx (unsigned int i, real t)
 Return x-component of the force on particle i at time t.

real timestep (unsigned int i)
 Time step to use for given component (optional).


Protected Member Functions

void computeSparsity ()

Protected Attributes

real b
real M

Constructor & Destructor Documentation

Benchmark::Benchmark unsigned int  n  )  [inline]
 

Benchmark::Benchmark unsigned int  n,
unsigned int  M,
real  b
[inline]
 


Member Function Documentation

void Benchmark::computeSparsity  )  [inline, protected]
 

real Benchmark::Fx unsigned int  i,
real  t
[inline, virtual]
 

Return x-component of the force on particle i at time t.

Reimplemented from dolfin::ParticleSystem.

real Benchmark::Fx unsigned int  i,
real  t
[inline, virtual]
 

Return x-component of the force on particle i at time t.

Reimplemented from dolfin::ParticleSystem.

real Benchmark::timestep unsigned int  i  )  [inline, virtual]
 

Time step to use for given component (optional).

Reimplemented from dolfin::ODE.

real Benchmark::v0 unsigned int  i  )  [inline]
 

real Benchmark::vx0 unsigned int  i  )  [inline, virtual]
 

Return x-component of initial velocity for particle i.

Reimplemented from dolfin::ParticleSystem.

real Benchmark::x0 unsigned int  i  )  [inline, virtual]
 

Return x-component of initial position for particle i.

Reimplemented from dolfin::ParticleSystem.

real Benchmark::x0 unsigned int  i  )  [inline, virtual]
 

Return x-component of initial position for particle i.

Reimplemented from dolfin::ParticleSystem.


Member Data Documentation

real Benchmark::b [protected]
 

real Benchmark::M [protected]
 


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


Documentation automatically generated with Doxygen on 10 Sep 2004.