← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Simplify convection-diffusion demo.

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   5236:e2fbfd6edb90b86e65ed0b3548aae4bfd6f2cc15
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu Dec 04 16:43:25 2008 +0000
files:       demo/pde/convection-diffusion/cpp/main.cpp
description:
Simplify convection-diffusion demo.


changeset:   5235:bc88eef9d6083ca46de6f836d1cf9e464715eade
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Thu Dec 04 14:07:28 2008 +0100
files:       dolfin/common/NoDeleter.h dolfin/fem/BoundaryCondition.cpp dolfin/fem/Form.cpp dolfin/fem/Form.h dolfin/function/Coefficient.cpp dolfin/function/Function.cpp dolfin/function/FunctionSpace.cpp dolfin/nls/NewtonSolver.cpp
description:
Added constructor Form(rank, num_coefficients) which initializes
the vector<>s with these sizes. Removes the need for pushbacks
in initialization of vectors, can just do _coefficients[i] = ...

Added template helper function reference_to_no_delete_pointer
in NoDeleter.h and applied it to all places where a shared_ptr
is created with a NoDeleter. Simplifies the syntax for this
operation (feel free to rename it to something shorter).


changeset:   5234:f1b6908794cd6eb28da05ee730433163aed5efa5
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Thu Dec 04 08:36:01 2008 +0100
files:       site-packages/dolfin/compile_function.py
description:
Small change to comment about swig bug.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin