UnitIntervalMesh

class dolfin.cpp.mesh.UnitIntervalMesh(*args)

Bases: dolfin.cpp.mesh.IntervalMesh

A mesh of the unit interval (0, 1) with a given number of cells (nx) in the axial direction. The total number of intervals will be nx and the total number of vertices will be (nx + 1).

Overloaded versions

  • UnitIntervalMesh(nx)

    Constructor

    Arguments
    nx (int)

    The number of cells.

    Example

    Note

    No example code available for this function.

  • UnitIntervalMesh(comm, nx)

    Constructor

    Arguments
    comm (MPI)

    MPI communicator

    nx (int)

    The number of cells.

    Example

    Note

    No example code available for this function.

thisown

The membership flag