proc num_nodes(e: Element): int {...}{.raises: [], tags: [].}
-
Source
Edit
proc dim(e: Element): int {...}{.raises: [], tags: [].}
-
Source
Edit
proc LagrangeLine(order: int): Element {...}{.raises: [], tags: [].}
-
Source
Edit
proc LagrangeTriangle(order: int): Element {...}{.raises: [], tags: [].}
-
Source
Edit
proc LagrangeTetrahedron(order: int): Element {...}{.raises: [], tags: [].}
-
Source
Edit
proc UnitSquareMesh(n: int): Mesh[LagrangeTriangle(1)] {...}{.raises: [], tags: [].}
-
Create a triangle mesh of a unit square. n is the number of elements per edge.
Source
Edit
proc UnitIntervalMesh(n: int): Mesh[LagrangeLine(1)] {...}{.raises: [], tags: [].}
-
Create a mesh of a unit interval. n is the number of elements.
Source
Edit
proc transform(mesh: Mesh; f: proc (x: float): float): Mesh
-
Transform a 1D mesh using a function f.
Source
Edit
proc readDolfinXml(element: static[Element]; filename: string): Mesh[element]
-
Read in Dolfin XML meshes from filename. For compile-time optimizations, the elementtype of the resulting mesh is required as element.
Source
Edit