Can I make a copy of a patch mesh and move it?
Hi,
In my solver I use patchToPatchInterpolation to interpolate a value from one patch to another, but I need the deformed patch mesh to define the patchToPatchInterpolation. Is there some way I can make a copy of a patch mesh and then move it? At the moment I move the whole mesh, then declare my patchToPatchInterpolation and do any patch interpolation I need, then I move the whole mesh back. This is obviously not the most efficient way of doing it. I define the patchToPatchInterpolation like this: Code:
patchToPatchInterpolation masterToSlaveInterpolate Is there some way I can make a copy of the patch meshes and then move these? I tried: Code:
polyPatch masterPatchMesh mesh.boundaryMesh()[masterIndex]; Hopefully some one might have an idea to help me, All suggestions welcome. Thanks, Philip |
All times are GMT -4. The time now is 14:21. |