The Earth System Modeling Framework (ESMF) is a suite of software tools for developing high-performance, multi-component Earth science modeling applications.
This pull request adds the ability for a user to associate a node mask with an ESMPY Mesh.
The Mesh.add_nodes method now accepts a keyword, node_mask, through which a user can pass a mask array of length n_nodes. Previously it was only possible to associate a mask with a mesh's elements. This new functionality follows the same pattern as Mesh.add_elements.
To make this work I had to add an extra argument, nodeMask, to ESMC_MeshAddNodes and, as such, modified all existing calls to this function to include the value NULL for this extra argument (i.e. no masking).
Oops! Sorry, I created my feature branch off of an old tag! 🤦
This pull request adds the ability for a user to associate a node mask with an ESMPY Mesh.
The
Mesh.add_nodes
method now accepts a keyword,node_mask
, through which a user can pass a mask array of length n_nodes. Previously it was only possible to associate a mask with a mesh's elements. This new functionality follows the same pattern asMesh.add_elements
.To make this work I had to add an extra argument,
nodeMask
, toESMC_MeshAddNodes
and, as such, modified all existing calls to this function to include the valueNULL
for this extra argument (i.e. no masking).Oops! Sorry, I created my feature branch off of an old tag! 🤦