~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/kernel/function/dolfin/Function.h

  • Committer: logg
  • Date: 2005-02-01 08:45:39 UTC
  • Revision ID: devnull@localhost-20050201084539-iipfjc00b32la5qc
Tailorized "2005-02-01 02:45:39 by logg"
Updates for new version of FFC, including work on functions (coefficients).
The remaining showstopper is getting FFC to correctly count and number
the coefficients of a form.

For testing, see the Poisson module. To get functions working, Form needs
to be initialized with the correct number of functions and each function
needs to be added (in the correct order) using Form::add(). This will
create a coupling between functions and coefficients.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    void update(FunctionSpace::ElementFunction& v,
100
100
                const FiniteElement& element, const Cell& cell, real t) const;
101
101
    
102
 
    // Update local function (restriction to given cell)
103
 
    void update(NewArray<real>& w, const Cell& cell, const NewPDE& pde) const;
104
 
 
105
102
    // Vector function
106
103
    class Vector {
107
104
    public: