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

dolfin::RHS Class Reference

#include <RHS.h>

Collaboration diagram for dolfin::RHS:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RHS (ODE &ode, Solution &solution)
 Constructor.

 RHS (ODE &ode, Function &function)
 Constructor.

 ~RHS ()
 Destructor.

unsigned int size () const
 Number of components.

real operator() (unsigned int index, real t)
 Evaluation of the right-hand side.

real operator() (unsigned int index, unsigned int node, real t)
 Evaluation of the right-hand side.

real dfdu (unsigned int i, unsigned int j, real t)

Detailed Description

RHS takes care of evaluating the right-hand side f(u,t) for a given component at a given time. The vector u is updated only for the components which influence the given component, as determined by the sparsity pattern.


Constructor & Destructor Documentation

RHS::RHS ODE ode,
Solution solution
 

Constructor.

RHS::RHS ODE ode,
Function function
 

Constructor.

RHS::~RHS  ) 
 

Destructor.


Member Function Documentation

real RHS::dfdu unsigned int  i,
unsigned int  j,
real  t
 

real RHS::operator() unsigned int  index,
unsigned int  node,
real  t
 

Evaluation of the right-hand side.

real RHS::operator() unsigned int  index,
real  t
 

Evaluation of the right-hand side.

unsigned int RHS::size  )  const
 

Number of components.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.