← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add Martin's suggestion 'operator double() const' to Constant.

 

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

changeset:   6202:3412638b7e469fc9476393d7b7597b7fb28005cb
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu May 21 20:54:28 2009 +0100
files:       dolfin/function/Constant.h
description:
Add Martin's suggestion 'operator double() const' to Constant.


changeset:   6201:7bc584e24501b34ad40dc19b9e683b925681f5ad
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu May 21 19:22:35 2009 +0100
files:       demo/mesh/built-in/python/demo.py dolfin/function/Constant.h dolfin/mesh/UnitCircle.cpp
description:
Permit access to values and size for a Constant.

This avoid duplications like

  double dt = 1.0;
  Constant delta_t(dt);
  double T = 100*dt;


changeset:   6200:dff601b6ee4aa498c3eda723ae5fba83feebf0fb
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu May 21 17:46:52 2009 +0100
files:       demo/mesh/built-in/python/demo.py dolfin/mesh/Rectangle.cpp dolfin/mesh/UnitCircle.cpp dolfin/mesh/UnitSquare.cpp
description:
Fix a few bugs introduced in previous commits.

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