dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #16545
Re: [HG DOLFIN] Remove geometric dimension from Constant. Some demos broken still.
DOLFIN wrote:
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 7442:a409a2b179f1
tag: tip
user: "Garth N. Wells <gnw20@xxxxxxxxx>"
date: Fri Nov 13 19:08:44 2009 +0000
files: demo/pde/advection-diffusion/cpp/main.cpp demo/pde/bcs/cpp/main.cpp demo/pde/cahn-hilliard/cpp/main.cpp demo/pde/curl-curl/cpp/main.cpp demo/pde/elasticity/cpp/main.cpp demo/pde/elastodynamics/cpp/main.cpp demo/pde/equality/cpp/main.cpp demo/pde/nonlinear-poisson/cpp/main.cpp demo/pde/periodic/cpp/main.cpp demo/pde/poisson/cpp/main.cpp demo/pde/poisson1D/cpp/main.cpp demo/pde/stokes/stabilized/cpp/main.cpp demo/pde/stokes/taylor-hood/cpp/main.cpp demo/pde/sym-dirichlet-bc/cpp/main.cpp dolfin/function/Constant.cpp dolfin/function/Constant.h dolfin/function/Expression.cpp dolfin/function/Expression.h dolfin/function/SpecialFunctions.cpp dolfin/swig/docstrings.i dolfin/swig/function_pre.i
description:
Remove geometric dimension from Constant. Some demos broken still.
I had to comment out the below code in function_pre.i since I removed
Expression::geometric_dimension. I don't really understand how it works.
Garth
//-----------------------------------------------------------------------------
// Director typemap for coordinates in Expression
//-----------------------------------------------------------------------------
%typemap(directorin) const double* x {
{
// Compute size of x
npy_intp dims[1] = {this->geometric_dimension()};
$input = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE,
reinterpret_cast<char *>(const_cast<double*>($1_name)));
}
}
changeset: 7441:a80d21459db0
parent: 7440:f6935b64eb40
parent: 7439:cd6e4b6b38a9
user: Anders Logg <logg@xxxxxxxxx>
date: Thu Nov 12 11:18:57 2009 +0100
files: demo/pde/adaptive-poisson/cpp/README demo/pde/adaptive-poisson/python/demo.py
description:
merge
changeset: 7440:f6935b64eb40
parent: 7431:9edad639d7e7
user: Anders Logg <logg@xxxxxxxxx>
date: Thu Nov 12 11:18:53 2009 +0100
files: dolfin/adaptivity/AdaptiveObjects.cpp dolfin/fem/BoundaryCondition.h dolfin/fem/DirichletBC.h sandbox/misc/cpp/SConstruct sandbox/misc/cpp/main.cpp
description:
Implement refinement of boundary conditions (untested).
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References