dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10389
Re: [HG DOLFIN] DOLFIN compiles again!
On Sun, Oct 26, 2008 at 12:06:12PM +0000, Garth N. Wells wrote:
>
>
> Anders Logg wrote:
> > On Sun, Oct 26, 2008 at 12:50:12PM +0100, 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: 5003:f2effd253de3ae72894bdecb768447b8336a5014
> >> tag: tip
> >> user: "Garth N. Wells <gnw20@xxxxxxxxx>"
> >> date: Sun Oct 26 11:50:01 2008 +0000
> >> files: dolfin/ale/HarmonicSmoothing.cpp dolfin/mf/MatrixFactory.cpp
> >> description:
> >> DOLFIN compiles again!
> >
> > Nice!
> >
> >> changeset: 5002:05c6bdf0399c13099c56c18be9b839ecb268889a
> >> user: "Garth N. Wells <gnw20@xxxxxxxxx>"
> >> date: Sun Oct 26 11:48:20 2008 +0000
> >> files: dolfin/fem/assemble.h
> >> description:
> >> Remove assemble.h
> >
> > But don't we need that? Or did you figure out how to get assemble() in
> > namespace dolfin?
> >
>
> Don't we just do Assemble::assemble(....)?
>
> I removed it because it conflicts with functions in Assemble.
>
> Garth
We use this in quite a few places in the C++ demos so we need to
figure out a way to add them back:
demo/pde/periodic/cpp/main.cpp: assemble(A, a, mesh);
demo/pde/periodic/cpp/main.cpp: assemble(b, L, mesh);
demo/pde/convection-diffusion/cpp/main.cpp: assemble(A, a, mesh);
demo/pde/convection-diffusion/cpp/main.cpp: assemble(b, L, mesh);
demo/pde/convection-diffusion/cpp/main.cpp: assemble(b, L, mesh);
demo/pde/sym-dirichlet-bc/cpp/main.cpp: assemble(A, a, mesh);
demo/pde/sym-dirichlet-bc/cpp/main.cpp: assemble(b, L, mesh);
demo/pde/sym-dirichlet-bc/cpp/main.cpp: assemble(A, a, b, L, bc,
mesh);
demo/pde/lift-drag/cpp/main.cpp: double lift = assemble(L, mesh,
fish);
demo/pde/lift-drag/cpp/main.cpp: double drag = assemble(D, mesh,
fish);
demo/pde/dg/advection_diffusion/cpp/main.cpp: assemble(A, a, mesh);
demo/pde/dg/advection_diffusion/cpp/main.cpp: assemble(b, L, mesh);
demo/pde/functional/cpp/main.cpp: double value = assemble(M, mesh);
We have some (about 3) free functions in DOLFIN C++ in addition to all
the classes: assemble(), solve(), plot() and it would be nice if we
could keep these.
--
Anders
Attachment:
signature.asc
Description: Digital signature
References