From f51e32e429d682e155a35ed90d5dfd37e7a5eae4 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 23 Nov 2017 10:09:34 +0100 Subject: [PATCH] doc --- Common/gmsh.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Common/gmsh.h b/Common/gmsh.h index 971102939d..07ddc05a5a 100644 --- a/Common/gmsh.h +++ b/Common/gmsh.h @@ -748,14 +748,27 @@ GMSH_API void gmshModelOccSynchronize(); // Module gmshModelField: per-model mesh size field functions // ----------------------------------------------------------------------------- +// Creates a new mesh size field of type `type'. If `tag' is positive, assign +// the tag explcitly; otherwise a new tag is assigned automatically. Returns the +// field tag. GMSH_API int gmshModelFieldCreate(const std::string &type, const int tag = -1); + +// Deletes the field with tag `tag'. GMSH_API void gmshModelFieldDelete(const int tag); + +// Sets the numerical option `option' to value `value' for field `tag'. GMSH_API void gmshModelFieldSetNumber(const int tag, const std::string &option, const double value); + +// Sets the string option `option' to value `value' for field `tag'. GMSH_API void gmshModelFieldSetString(const int tag, const std::string &option, const std::string &value); + +// Sets the numerical list option `option' to value `value' for field `tag'. GMSH_API void gmshModelFieldSetNumbers(const int tag, const std::string &option, const std::vector<double> &value); + +// Sets the field `tag' as background mesh size field. GMSH_API void gmshModelFieldSetAsBackground(const int tag); // ----------------------------------------------------------------------------- -- GitLab