dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04389
[HG dolfin] Fix memory allocation bug
One or more new changesets pushed to the primary DOLFIN repository.
A short summary of the last three changesets is included below.
changeset: 2685:3df5d92df9a3eec743a733ef1f222424d1d291cd
tag: tip
user: "Anders Logg <logg@xxxxxxxxx>"
date: Fri Mar 02 09:16:36 2007 +0100
files: src/sandbox/assembly/main.cpp
description:
Fix memory allocation bug
changeset: 2684:feeaeef30f8058a31f0b243d7b2b2f3cfe8580fa
user: "Anders Logg <logg@xxxxxxxxx>"
date: Fri Mar 02 09:06:25 2007 +0100
files: src/kernel/fem/Assembler.cpp src/kernel/fem/UFC.cpp src/kernel/fem/dolfin/Assembler.h src/kernel/fem/dolfin/UFC.h src/sandbox/assembly/main.cpp
description:
Work on assembly:
- Move initialization of global dimensions to class UFC
- Replace initGlobalTensor() by one-liner: A.init()
changeset: 2683:b2e42133d76ed05043d661c848713329a20c4700
user: "Anders Logg <logg@xxxxxxxxx>"
date: Fri Mar 02 00:18:59 2007 +0100
files: src/kernel/fem/Assembler.cpp src/kernel/fem/FEM.cpp src/kernel/fem/UFC.cpp src/kernel/fem/dolfin/UFC.h src/kernel/la/dolfin/GenericTensor.h src/sandbox/assembly/AssemblyMatrix.h src/sandbox/assembly/Poisson.h src/sandbox/assembly/main.cpp
description:
Work on assembly: Works now for simple Poisson test case
- Implement tabulation of dofs
- Implement computation of cell tensor
- Implement addition of cell tensor to global tensor
- Compared with current (old) assembly for simple test case
and the results match
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin