IntervalMesh

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

Bases: dolfin.cpp.mesh.Mesh

Interval mesh of the 1D line [a,b]. Given the 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

  • IntervalMesh(nx, a, b)

    Constructor

    Arguments
    nx (int)

    The number of cells.

    a (float)

    The minimum point (inclusive).

    b (float)

    The maximum point (inclusive).

    Example

    Note

    No example code available for this function.

  • IntervalMesh(comm, nx, a, b)

    Constructor

    Arguments
    comm (MPI)

    MPI communicator

    nx (int)

    The number of cells.

    a (float)

    The minimum point (inclusive).

    b (float)

    The maximum point (inclusive).

    Example

    Note

    No example code available for this function.

thisown

The membership flag