Skip to content

Commit 60ebf33

Browse files
committed
Fix mesh preparation in misc ex15
1 parent d02f4f1 commit 60ebf33

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

examples/miscellaneous/miscellaneous_ex15/miscellaneous_ex15.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,10 @@ int main (int argc, char** argv)
221221
sync_obj);
222222
}
223223

224+
// We'll need to update caches of subdomain ids too, to keep the
225+
// mesh prepared.
226+
mesh.cache_elem_data();
227+
224228
// Now we set the sources of the field: prism-shaped objects that are
225229
// determined here by containing certain points:
226230
auto p_pt_lctr = mesh.sub_point_locator();

0 commit comments

Comments
 (0)