ENH: trap negative blockMesh expansions and treat as their inverse
- A negative expansion ratio is geometrically invalid and will normally cause issues (FatalError). However, we can trap this type of input and interpret it as the inverse expansion ratio - ie, the expansion ratio in the opposite direction. This can be especially convenient when generating a blockMesh with a symmetrical expansion. It permits using the same expansion ratio (with a sign change) instead of providing the reciprocal values manually. COMP: revert demand-driven point creation in blockMesh (db9b35b5) - appears to have caused a dangling reference on some systems ENH: add a lightweight ijkAddressing class - it can be used for an i-j-k to linear lookup of meshes or fields, where applicable.
Showing
- src/OpenFOAM/meshes/ijkMesh/ijkAddressing.H 126 additions, 0 deletionssrc/OpenFOAM/meshes/ijkMesh/ijkAddressing.H
- src/OpenFOAM/meshes/ijkMesh/ijkAddressingI.H 181 additions, 0 deletionssrc/OpenFOAM/meshes/ijkMesh/ijkAddressingI.H
- src/OpenFOAM/meshes/ijkMesh/ijkMesh.H 121 additions, 0 deletionssrc/OpenFOAM/meshes/ijkMesh/ijkMesh.H
- src/OpenFOAM/meshes/ijkMesh/ijkMeshI.H 154 additions, 0 deletionssrc/OpenFOAM/meshes/ijkMesh/ijkMeshI.H
- src/mesh/blockMesh/blockDescriptor/blockDescriptor.C 11 additions, 12 deletionssrc/mesh/blockMesh/blockDescriptor/blockDescriptor.C
- src/mesh/blockMesh/blockDescriptor/blockDescriptor.H 7 additions, 45 deletionssrc/mesh/blockMesh/blockDescriptor/blockDescriptor.H
- src/mesh/blockMesh/blockDescriptor/blockDescriptorEdges.C 4 additions, 3 deletionssrc/mesh/blockMesh/blockDescriptor/blockDescriptorEdges.C
- src/mesh/blockMesh/blockDescriptor/blockDescriptorI.H 16 additions, 129 deletionssrc/mesh/blockMesh/blockDescriptor/blockDescriptorI.H
- src/mesh/blockMesh/blockEdges/lineDivide/lineDivide.C 3 additions, 3 deletionssrc/mesh/blockMesh/blockEdges/lineDivide/lineDivide.C
- src/mesh/blockMesh/blockFaces/projectFace/projectFace.C 8 additions, 8 deletionssrc/mesh/blockMesh/blockFaces/projectFace/projectFace.C
- src/mesh/blockMesh/blockFaces/projectFace/projectFace.H 1 addition, 5 deletionssrc/mesh/blockMesh/blockFaces/projectFace/projectFace.H
- src/mesh/blockMesh/blockMesh/blockMeshCreate.C 9 additions, 7 deletionssrc/mesh/blockMesh/blockMesh/blockMeshCreate.C
- src/mesh/blockMesh/blocks/block/block.C 16 additions, 4 deletionssrc/mesh/blockMesh/blocks/block/block.C
- src/mesh/blockMesh/blocks/block/block.H 5 additions, 5 deletionssrc/mesh/blockMesh/blocks/block/block.H
- src/mesh/blockMesh/blocks/block/blockCreate.C 2 additions, 2 deletionssrc/mesh/blockMesh/blocks/block/blockCreate.C
- src/mesh/blockMesh/blocks/block/blockI.H 0 additions, 10 deletionssrc/mesh/blockMesh/blocks/block/blockI.H
- src/mesh/blockMesh/gradingDescriptor/gradingDescriptor.C 12 additions, 2 deletionssrc/mesh/blockMesh/gradingDescriptor/gradingDescriptor.C
- src/mesh/blockMesh/gradingDescriptor/gradingDescriptor.H 10 additions, 7 deletionssrc/mesh/blockMesh/gradingDescriptor/gradingDescriptor.H