[MOAB-dev] commit/MOAB: iulian07: Changes in Skinner API
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Aug 19 13:01:16 CDT 2013
1 new commit in MOAB:
https://bitbucket.org/fathomteam/moab/commits/7270752c7f9d/
Changeset: 7270752c7f9d
Branch: master
User: iulian07
Date: 2013-08-19 19:58:01
Summary: Changes in Skinner API
A file set is added in the list of arguments for the skinner.
This meshset usually is the file set used to load the mesh, and it
should also contain the source entities.
It was added to avoid confusion when multiple files are loaded in the same instance, for example
in coupler scenarios
Affected #: 2 files
diff --git a/src/io/WriteCCMIO.cpp b/src/io/WriteCCMIO.cpp
index bc972f2..9eb80da 100644
--- a/src/io/WriteCCMIO.cpp
+++ b/src/io/WriteCCMIO.cpp
@@ -950,7 +950,7 @@ namespace moab {
//================================================
Range neuset_facets, skin_facets;
Skinner skinner(mbImpl);
- result = skinner.find_skin(all_elems, mDimension-1, skin_facets);
+ result = skinner.find_skin(0, all_elems, mDimension-1, skin_facets);
CHKERR(result, "Failed to get skin facets.");
// remove neumann set facets from skin facets, we have to output these
diff --git a/tools/dagmc/cub2h5m.cc b/tools/dagmc/cub2h5m.cc
index c45f349..535a689 100644
--- a/tools/dagmc/cub2h5m.cc
+++ b/tools/dagmc/cub2h5m.cc
@@ -1012,7 +1012,7 @@ ErrorCode add_dead_elems_to_impl_compl(Interface *MBI,
// skin the volumes
Skinner tool(MBI);
Range skin_faces;
- result = tool.find_skin(elems, 2, skin_faces, true);
+ result = tool.find_skin(0, elems, 2, skin_faces, true);
assert(MB_SUCCESS == result);
if (MB_SUCCESS != result)
return result;
Repository URL: https://bitbucket.org/fathomteam/moab/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the moab-dev
mailing list