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

Lattice Class Reference

Inheritance diagram for Lattice:

Inheritance graph
[legend]
Collaboration diagram for Lattice:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

real y0 (unsigned int i)
 Return y-component of initial position for particle i.

real mass (unsigned int i, real t)
 Return mass of particle i at time t.

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

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


Constructor & Destructor Documentation

Lattice::Lattice unsigned int  p  )  [inline]
 


Member Function Documentation

real Lattice::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 Lattice::Fy unsigned int  i,
real  t
[inline, virtual]
 

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

Reimplemented from dolfin::ParticleSystem.

real Lattice::mass unsigned int  i,
real  t
[inline, virtual]
 

Return mass of particle i at time t.

Reimplemented from dolfin::ParticleSystem.

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

Return x-component of initial position for particle i.

Reimplemented from dolfin::ParticleSystem.

real Lattice::y0 unsigned int  i  )  [inline, virtual]
 

Return y-component of initial position for particle i.

Reimplemented from dolfin::ParticleSystem.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.