Skip to content
Snippets Groups Projects
Commit c3d81ecf authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

create api.texi directly in doc/texinfo

parent 3a5cc78e
No related branches found
No related tags found
No related merge requests found
......@@ -1604,7 +1604,7 @@ class API:
f.write("@end table\n\n")
f.write("@end ftable\n\n")
with open("api.texi", "w") as f:
with open("../doc/texinfo/api.texi", "w") as f:
f.write(
"@c This file was generated by api/gen.py: do not edit manually!\n\n"
)
......
This diff is collapsed.
......@@ -80,7 +80,7 @@ int main(int argc, char **argv)
gmsh::model::setCoordinates(3, 1, 1, coords[3 * tag(N, N) - 1]);
gmsh::model::setCoordinates(4, 0, 1, coords[3 * tag(0, N) - 1]);
// Create 4 discrete bounding curves, with their CAD boundary points:
// Create 4 discrete bounding curves, with their boundary points:
for(int i = 0; i < 4; i++)
gmsh::model::addDiscreteEntity(1, i + 1, {i + 1, (i < 3) ? (i + 2) : 1});
......@@ -90,7 +90,7 @@ int main(int argc, char **argv)
// Add all the nodes on the surface (for simplicity... see below):
gmsh::model::mesh::addNodes(2, 1, nodes, coords);
// Add point elements on the 4 CAD points, line elements on the 4 curves, and
// Add point elements on the 4 points, line elements on the 4 curves, and
// triangle elements on the surface:
for(int i = 0; i < 4; i++) {
// Type 15 for point elements:
......
......@@ -77,7 +77,7 @@ gmsh.model.setCoordinates(2, 1, 0, coords[3 * tag(N, 0) - 1])
gmsh.model.setCoordinates(3, 1, 1, coords[3 * tag(N, N) - 1])
gmsh.model.setCoordinates(4, 0, 1, coords[3 * tag(0, N) - 1])
# Create 4 discrete bounding curves, with their (CAD) boundary points:
# Create 4 discrete bounding curves, with their boundary points:
for i in range(4):
gmsh.model.addDiscreteEntity(1, i + 1, [i + 1, i + 2 if i < 3 else 1])
......@@ -87,7 +87,7 @@ gmsh.model.addDiscreteEntity(2, 1, [1, 2, -3, -4])
# Add all the nodes on the surface (for simplicity... see below):
gmsh.model.mesh.addNodes(2, 1, nodes, coords)
# Add point elements on the 4 CAD points, line elements on the 4 curves, and
# Add point elements on the 4 points, line elements on the 4 curves, and
# triangle elements on the surface:
for i in range(4):
# Type 15 for point elements:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment