Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengcheng1230 committed May 17, 2019
1 parent 90f8d81 commit 1c2c5be
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,39 +28,40 @@ end

@gmsh_open msh_file begin
gmsh.model.getDimension()
# any gmsh API here
# any gmsh API here ...
end

@gmsh_do begin

@addPoint begin
x1, y1, z1, mesh_size_1, point_tag_1
x2, y2, z2, mesh_size_2, point_tag_2
# more points ...
...
end

@addLine begin
point_tag_1, point_tag_2, line_tag_1
point_tag_2, point_tag_3, line_tag_2
# more points connection ...
...
end

@setTransfiniteCurve begin
line_tag_1, num_points_1, Algorithm_1, coefficient_1
line_tag_2, num_points_2, Algorithm_2, coefficient_2
# more transfinite curve settings ...
...
end

@addField FieldTag FieldName begin
name_1, value_1
name_2, value_2
# more name value pair
...
# all added to `FieldTag` field
end

@addOption begin
name_1, value_1
name_2, value_2
# more name value pair
...
end

# more gmsh APIs ...
Expand Down

2 comments on commit 1c2c5be

@shipengcheng1230
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/660

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 1c2c5beb9e68fadab529d0724354732439191097
git push origin v0.1.0

Please sign in to comment.