File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ pParMesh generate(pGModel mdl, std::string meshCaseName) {
69
69
PCU_ALWAYS_ASSERT (mcaseFile);
70
70
71
71
AttCase_setModel (mcaseFile, mdl);
72
+ AttCase_associate (mcaseFile, NULL );
72
73
pACase mcase = MS_newMeshCase (mdl);
73
74
MeshingOptions meshingOptions;
74
75
MS_processSimModelerMeshingAtts (mcaseFile, mcase, &meshingOptions);
@@ -231,6 +232,7 @@ int main(int argc, char** argv)
231
232
getConfig (argc,argv);
232
233
233
234
simStart ();
235
+ Sim_logOn (" generate_sim.log" );
234
236
pNativeModel nm = loadNativeModel ();
235
237
pGModel simModel = GM_load (modelFile.c_str (), nm, NULL );
236
238
@@ -254,6 +256,7 @@ int main(int argc, char** argv)
254
256
apf::destroyMesh (mesh);
255
257
256
258
simStop ();
259
+ Sim_logOff ();
257
260
PCU_Comm_Free ();
258
261
MPI_Finalize ();
259
262
}
You can’t perform that action at this time.
0 commit comments