Skip to content
Snippets Groups Projects
Commit 7a4ebb37 authored by Adrien Crovato's avatar Adrien Crovato
Browse files

fix initialize morpher in tests

parent ac6f13d1
No related branches found
No related tags found
No related merge requests found
Pipeline #4197 passed
......@@ -190,8 +190,7 @@ def morpher(msh, dim, mov, fxd = ['upstream', 'farfield', 'downstream'], fld = '
name of physical tag contaning the symmetry plane (y)
"""
args = parseargs()
mshDef = tbox.MshDeform(msh, dim)
mshDef.nthreads = args.k
mshDef = tbox.MshDeform(msh, dim, nthrds=args.k)
mshDef.setField(fld)
mshDef.addFixed(fxd)
mshDef.addMoving(mov)
......
......@@ -103,7 +103,7 @@ Solver::Solver(std::shared_ptr<Problem> _pbl,
<< "Number of nodes: " << pbl->msh->nodes.size() << "\n"
<< "Number of elements: " << pbl->msh->elems.size() << "\n";
std::cout << "--- Physical groups ---\n"
<< "Fluid on: " << *pbl->fluid->tag << "\n";
<< "Fluid on " << *pbl->fluid->tag << "\n";
for (auto bnd : pbl->fBCs)
std::cout << "Freestream on " << *bnd->tag << "\n";
for (auto bnd : pbl->dBCs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment