Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mesh name used to cache global node ids #20079

Open
wants to merge 1 commit into
base: 3.4RC
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/databases/Silo/avtSiloFileFormat.C
Original file line number Diff line number Diff line change
Expand Up @@ -10115,6 +10115,10 @@ RemapFacelistForPolyhedronZones(DBfacelist *sfl, DBzonelist *szl)
//
// Mark C. Miller, Wed Feb 11 17:06:02 PST 2015
// Made it return a point mesh for a DBucdmesh with no topology defined.
//
// Mark C. Miller, Fri Nov 22 16:19:58 PST 2024
// Fix mesh name used to cache global node ids in the case this UCD mesh is
// really just a point mesh.
// ****************************************************************************

vtkDataSet *
Expand Down Expand Up @@ -10206,7 +10210,7 @@ avtSiloFileFormat::GetUnstructuredMesh(DBfile *dbfile, const char *mn,
// so that it can be obtained through the GetAuxiliaryData call
//
void_ref_ptr vr = void_ref_ptr(arr, avtVariableCache::DestructVTKObject);
cache->CacheVoidRef(mn, AUXILIARY_DATA_GLOBAL_NODE_IDS, timestep, domain, vr);
cache->CacheVoidRef(mesh, AUXILIARY_DATA_GLOBAL_NODE_IDS, timestep, domain, vr);
biagas marked this conversation as resolved.
Show resolved Hide resolved
}

points->Delete();
Expand Down