← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Added constructor Form(rank, num_coefficients) which initializes

 

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

changeset:   5235:bc88eef9d6083ca46de6f836d1cf9e464715eade
tag:         tip
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.


changeset:   5233:f592caf4090609231e2e2a733cab394efcca05d4
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Wed Dec 03 22:40:49 2008 +0100
files:       dolfin/swig/dolfin.i
description:
Small bug fix

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