View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002941 | OpenFOAM | Bug | public | 2018-05-17 18:36 | 2018-05-18 16:56 |
Reporter | toliveira | Assigned To | henry | ||
Priority | low | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 16.04 |
Summary | 0002941: fvMeshSubset::subMesh().owner() does not return the list of all owners. | ||||
Description | fvMeshSubset::subMesh().owner() does not return the list of all owners. The list returned has nInternalFaces elements instead of nFaces. | ||||
Steps To Reproduce | One can verify the statement in the description by doing the following: 1 - in applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C, include after "subsetter.subMesh().write();": Info<< "subsetter.subMesh().owner().size() = " << subsetter.subMesh().owner().size() << endl; Info<< "subsetter.subMesh().objectRegistry::lookupObject<labelIOList>(owner).size() = " << subsetter.subMesh().objectRegistry::lookupObject<labelIOList>("owner").size() << endl; 2 - recompile subMeshSet 3 - use subMeshSet 4 - compare the values on the two Info messages. | ||||
Additional Information | fvMeshSubset::subMesh().owner() does not return the list of all owners but the correct, complete list of owners is written the the owner files by subsetMesh. The user that needs this list inside their application can get it using subsetter.subMesh().objectRegistry::lookupObject<labelIOList>(owner) . | ||||
Tags | No tags attached. | ||||
|
You can access the faceOwner() instead. (the lduAddressing::owner is the lduMesh wrapper of it and only covers the internal faces - the boundary owner cells are handled separately) |
|
Thank you Mattijs. Now I realize it was my mistake in the choice of the method. owner() is indeed commented as :"//- Internal face owner". I am sorry for that. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-17 18:36 | toliveira | New Issue | |
2018-05-18 11:48 | MattijsJ | Note Added: 0009605 | |
2018-05-18 12:18 | toliveira | Note Added: 0009606 | |
2018-05-18 16:56 | henry | Assigned To | => henry |
2018-05-18 16:56 | henry | Status | new => closed |
2018-05-18 16:56 | henry | Resolution | open => no change required |