← Back to team overview

dolfin team mailing list archive

Update of the Function classes: [...]

 

Commit from logg (2005-11-30 17:52 CET)
----------------

Update of the Function classes:

 - Implement copy constructor and assignment of Functions
 - Needed to change the interface for Functions:

   Instead of

       real operator() (const Point& p, unsigned int i);

   the interface is now

       real eval(const Point& p, unsigned int i);

   This change was needed to allow assignment of functions from one
   representation to another.

  dolfin  src/demo/fem/convergence/main.cpp                     1.5
  dolfin  src/demo/nls/main.cpp                                 1.5
  dolfin  src/demo/poisson/main.cpp                             1.10
  dolfin  src/demo/solvers/convdiff/main.cpp                    1.21
  dolfin  src/demo/solvers/elasticity/main.cpp                  1.16
  dolfin  src/demo/solvers/elasticity-updated/main.cpp          1.39
  dolfin  src/demo/solvers/heat/main.cpp                        1.10
  dolfin  src/demo/solvers/navierstokes/benchmark/main.cpp      1.27
  dolfin  src/demo/solvers/poisson/main.cpp                     1.37
  dolfin  src/demo/solvers/stokes/main.cpp                      1.5
  dolfin  src/kernel/function/DiscreteFunction.cpp              1.2
  dolfin  src/kernel/function/Function.cpp                      1.27
  dolfin  src/kernel/function/FunctionPointerFunction.cpp       1.2
  dolfin  src/kernel/function/UserFunction.cpp                  1.2
  dolfin  src/kernel/function/dolfin/DiscreteFunction.h         1.2
  dolfin  src/kernel/function/dolfin/Function.h                 1.21
  dolfin  src/kernel/function/dolfin/FunctionPointerFunction.h  1.2
  dolfin  src/kernel/function/dolfin/UserFunction.h             1.2
  dolfin  src/test/main.cpp                                     1.11