DOLFIN-X
DOLFIN-X C++ interface
Static Public Member Functions | List of all members
dolfinx::generation::UnitDiscMesh Class Reference

A mesh consisting of a circular domain with quadratic geometry. This class is useful for testing. More...

#include <UnitDiscMesh.h>

Static Public Member Functions

static mesh::Mesh create (MPI_Comm comm, int n, const fem::CoordinateElement &element, const mesh::GhostMode ghost_mode)
 Create mesh of unit disc for testing quadratic geometry. More...
 

Detailed Description

A mesh consisting of a circular domain with quadratic geometry. This class is useful for testing.

Member Function Documentation

◆ create()

mesh::Mesh UnitDiscMesh::create ( MPI_Comm  comm,
int  n,
const fem::CoordinateElement element,
const mesh::GhostMode  ghost_mode 
)
static

Create mesh of unit disc for testing quadratic geometry.

Parameters
[in]commMPI communicator to build the mesh on
[in]nNumber of layers
[in]elementElement that describes the geometry of a cell
[in]ghost_modeMesh ghosting mode

The documentation for this class was generated from the following files: