mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: relocate sortedOrder from ListOps.H to List.H
- commonly used, only depends on routines defined in UList (don't need the rest of ListOps for it). ENH: implement boolList::operator() const - allows use as a predicate functor, as per bitSet and labelHashSet GIT: combine SubList, UList into List directory (intertwined concepts) STYLE: default initialize DynamicList instead of with size 0
This commit is contained in:
@ -163,9 +163,8 @@ void Foam::conformalVoronoiMesh::calcTetMesh
|
||||
|
||||
label nPatches = patchNames.size();
|
||||
|
||||
List<DynamicList<face>> patchFaces(nPatches, DynamicList<face>(0));
|
||||
|
||||
List<DynamicList<label>> patchOwners(nPatches, DynamicList<label>(0));
|
||||
List<DynamicList<face>> patchFaces(nPatches);
|
||||
List<DynamicList<label>> patchOwners(nPatches);
|
||||
|
||||
faces.setSize(number_of_finite_facets());
|
||||
|
||||
@ -1711,12 +1710,11 @@ void Foam::conformalVoronoiMesh::createFacesOwnerNeighbourAndPatches
|
||||
patchDicts[patchi].getOrDefault<label>("neighbProcNo", -1);
|
||||
}
|
||||
|
||||
List<DynamicList<face>> patchFaces(nPatches, DynamicList<face>(0));
|
||||
List<DynamicList<label>> patchOwners(nPatches, DynamicList<label>(0));
|
||||
List<DynamicList<face>> patchFaces(nPatches);
|
||||
List<DynamicList<label>> patchOwners(nPatches);
|
||||
// Per patch face the index of the slave node of the point pair
|
||||
List<DynamicList<label>> patchPPSlaves(nPatches, DynamicList<label>(0));
|
||||
|
||||
List<DynamicList<bool>> indirectPatchFace(nPatches, DynamicList<bool>(0));
|
||||
List<DynamicList<label>> patchPPSlaves(nPatches);
|
||||
List<DynamicList<bool>> indirectPatchFace(nPatches);
|
||||
|
||||
|
||||
faces.setSize(number_of_finite_edges());
|
||||
|
||||
Reference in New Issue
Block a user