why can not use the dolfin.cpp.mesh module

Asked by Yi

Hi, I'm using FEniCS to create a cylinder model, but when I direct use the dolfin.cpp.mesh.Cylinder and get the message: "Cylinder" is not defined. But in the library http://fenicsproject.org/documentation/dolfin/dev/python/programmers-reference/cpp/mesh/ there are Cylinder class and also Unit... classes that I can direct use.
I use windows 7 and FEniCS 1.0.0 with python, just question why can not use the module Cylinder and some other classes for example "Cone" in the site http://fenicsproject.org/documentation/dolfin/dev/python/programmers-reference/cpp/mesh/?
Appreciate first!

Question information

Language:
English Edit question
Status:
Answered
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Kent-Andre Mardal (kent-and) said :
#1

These are new in dolfin-dev and are not available in dolfin-1.

Kent

On 20 December 2012 18:51, Yi <email address hidden> wrote:

> New question #217287 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/217287
>
> Hi, I'm using FEniCS to create a cylinder model, but when I direct use the
> dolfin.cpp.mesh.Cylinder and get the message: "Cylinder" is not defined.
> But in the library
> http://fenicsproject.org/documentation/dolfin/dev/python/programmers-reference/cpp/mesh/there are Cylinder class and also Unit... classes that I can direct use.
> I use windows 7 and FEniCS 1.0.0 with python, just question why can not
> use the module Cylinder and some other classes for example "Cone" in the
> site
> http://fenicsproject.org/documentation/dolfin/dev/python/programmers-reference/cpp/mesh/
> ?
> Appreciate first!
>
> --
> You received this question notification because you are a member of
> FEniCS Team, which is an answer contact for FEniCS Project.
>

Can you help with this problem?

Provide an answer of your own, or ask Yi for more information if necessary.

To post a message you must log in.