p_refine

dolfin.cpp.mesh.p_refine(*args)

Overloaded versions

  • p_refine(refined_mesh, mesh)

    Increase the polynomial order of the mesh from 1 to 2, i.e. add points at the Edge midpoints, to make a quadratic mesh.

    Arguments
    refined_mesh (Mesh)

    The mesh that will be the quadratic mesh.

    mesh (Mesh)

    The original linear mesh.

  • p_refine(mesh)

    Return a p_refined mesh Increase the polynomial order of the mesh from 1 to 2, i.e. add points at the Edge midpoints, to make a quadratic mesh.

    Arguments
    mesh (Mesh)

    The original linear mesh.