e7f0628d79
ENH: promote IFstream::readContents() to public static function
...
- reads file contents into a DynamicList<char>, which can then be
broadcast, moved to a ICharStream etc.
2024-03-06 15:05:36 +01:00
7006056eae
ENH: remove blocking communication for gather patterns
...
ENH: eliminate unnecessary duplicate communicator
- in globalMeshData previously had a comm_dup hack to avoid clashes
with deltaCoeffs calculations. However, this was largely due to a
manual implementation of reduce() that used point-to-point
communication. This has since been updated to use an MPI_Allreduce
and now an MPI_Allgather, neither of which need this hack.
2024-03-06 11:10:54 +01:00
b98f53ceca
ENH: make ITstream positioning methods noexcept
...
ENH: add rank() method for compound tokens
ENH: add IOstream::minPrecision(unsigned)
- reduced typing, more expressive, no namespace ambiguity with max()
new: IOstream::minPrecision(10);
old: IOstream::defaultPrecision(max(10u, IOstream::defaultPrecision()));
STYLE: namespace qualify min/max for some buffer sizing [clang/hipp]
2024-03-06 11:01:57 +01:00
5a70be0846
ENH: use SubList for CompactListList access
...
- this was previously a UList instead of SubList,
but SubList supports better assignment of values
ENH: add invertOneToManyCompact
- returns a CompactListList<label> instead of labelListList, which
allows for reuse as partitioning table etc and/or slightly reduced
memory overhead
2024-03-06 09:14:42 +01:00
78fc102df1
ENH: minor reduction in allocations for inactive profiling ( #3112 )
...
- avoid string conversion/concatenation unless profiling hooks
are possible (ie, active or Extrae is loaded).
2024-03-06 08:18:08 +01:00
fa2aeec45b
Merge branch 'feature-fa-various' into 'develop'
...
Misc. changes in the finite-area module
See merge request Development/openfoam!661
2024-03-05 18:14:12 +00:00
d03a225061
ENH: finiteArea: reduce various code footprint
2024-03-05 18:13:59 +00:00
abfe30454a
ENH: finiteArea: consolidate various IOobject calls
2024-03-05 18:13:59 +00:00
3535d7890d
ENH: faPatch: remove intermediate/unused fields
2024-03-05 18:13:59 +00:00
47232ccf66
ENH: finiteArea: replace raw pointers with unique_ptr
2024-03-05 18:13:59 +00:00
cd8bc891f0
ENH: fvMatrix, faMatrix: replace raw pointers with unique_ptr ( #3107 )
2024-03-05 18:13:59 +00:00
1cbbcf15d3
ENH: finiteArea: remove redundant header files
2024-03-05 18:13:59 +00:00
b393d6eca1
STYLE: finiteArea: add/fix comments
...
STYLE: finiteArea: consistent use of =delete for removed ctors/assignments
2024-03-05 18:13:59 +00:00
9de77857a6
ENH: add surface patch index to surfaceCheck output
...
- makes it somewhat easier to find a correspondence of patch names and
patch index (for paraview)
2024-03-05 16:18:02 +01:00
46e0ef92d3
STYLE: spelling
2024-02-28 09:08:07 +00:00
8b793f8866
ENH: add global point/face/cell addressing to globalMeshData ( #3108 )
...
- permits reuse in other places without subsequent communication
2024-02-24 21:08:01 +01:00
337e672d53
ENH: extend globalMeshData::calcCellCells handling
...
- add convenience forms for common combinations
- avoid allocation for 1:1 identity agglomerations
- support subsetting forms (avoids an intermediate fvMeshSubset)
that also return the cellMap
- refactored to eliminate code duplication between weighted and
unweighted forms
2024-02-24 21:07:58 +01:00
04d880e2ce
STYLE: use send/recv serializers for globalIndex and mapDistribute etc
2024-02-24 19:51:24 +01:00
4f43f0302d
ENH: additional Map/HashTable constructors and ListOp functions
...
- construct Map/HashTable from key/value lists.
- invertToMap() : like invert() but returns a Map<label>,
which is useful for sparse numbering
- inplaceRenumber() : taking a Map<label> for the mapper
ENH: construct/reset CStringList for list of C-strings
2024-02-23 18:10:48 +01:00
f7cdd3ef63
ENH: extra objectRegistry::newIOobject form with IOobjectOption
...
- example use:
mesh.newIOobject(name, { IOobject::REGISTER });
vs
mesh.newIOobject
(
name,
IOobject::NO_READ,
IOobject::NO_WRITE,
IOobject::REGISTER
);
2024-02-23 17:58:21 +01:00
fac940e1cc
Merge branch 'feature-regionFa-various' into 'develop'
...
Misc. changes in the regionFaModels
See merge request Development/openfoam!663
2024-02-23 15:54:08 +00:00
7891960bd1
ENH: KirchhoffShell: reduce code footprint
2024-02-23 12:14:30 +00:00
6e2bdb0613
ENH: liquidFilmBase: remove unused energy source field
2024-02-23 12:14:30 +00:00
05e4001cf2
ENH: regionFaModels: remove redundant header files
2024-02-23 12:14:30 +00:00
b6eb300718
ENH: liquidFilm: consolidate and inline various access funcs
2024-02-23 12:14:23 +00:00
b4d7a31913
STYLE: regionFaModels: add/remove various comments
2024-02-23 12:14:19 +00:00
90e9a070a7
DOC: regionFaModels: improve header documentation
2024-02-23 12:03:07 +00:00
3b966afb9c
BUG: snappyHexMesh: parallel inconsistency. Fixes #3106
2024-02-22 16:08:51 +00:00
613959c52b
ENH: faceZoneSet: doc. See #2024
2024-02-22 10:08:08 +00:00
25551b23bf
BUG: faceZoneSet: allow construction of faceZone. Fixes #2024
2024-02-22 09:56:59 +00:00
73b6ddd760
Merge branch 'md23-update-registry-handling' into 'develop'
...
Updates to reduce unnecessary registration of tmp fields
See merge request Development/openfoam!665
2024-02-21 15:28:09 +00:00
8b73d06898
ENH: use tmp field factory methods [12] ( #2723 )
...
- applications
2024-02-21 14:31:40 +01:00
ec2b1be8c5
ENH: use tmp field factory methods [11] ( #2723 )
...
- src/optimisation
2024-02-21 14:31:40 +01:00
c138f89c1f
ENH: use tmp field factory methods [10] ( #2723 )
...
- src/TurbulenceModels
2024-02-21 14:31:40 +01:00
d9483f5080
ENH: use tmp field factory methods [9] ( #2723 )
...
- src/phaseSystemModels
2024-02-21 14:31:40 +01:00
7bf0aaf99c
ENH: use tmp field factory methods [8] ( #2723 )
...
- src/combustion
2024-02-21 14:31:40 +01:00
51f150d84c
ENH: use tmp field factory methods [7] ( #2723 )
...
- thermophysicalModels, transportModels
2024-02-21 14:31:40 +01:00
71d4a23ec0
ENH: use tmp field factory methods [6] ( #2723 )
...
- src/functionObjects
2024-02-21 14:31:40 +01:00
995a9705e2
ENH: use tmp field factory methods [5] ( #2723 )
...
- src/lagrangian
2024-02-21 14:31:39 +01:00
33f20edbb1
ENH: use tmp field factory methods [4] ( #2723 )
...
- src/regionModels src/regionFaModels
2024-02-21 14:31:39 +01:00
710eb5c142
ENH: use tmp field factory methods [3] ( #2723 )
...
- src/faOptions, src/fvOptions
2024-02-21 14:31:39 +01:00
092db087c9
ENH: use tmp field factory methods [2] ( #2723 )
...
- src/finiteVolume, src/finiteArea
2024-02-21 14:31:39 +01:00
21196d8c0b
ENH: use tmp field factory methods [1] ( #2723 )
...
- src/OpenFOAM, src/meshTools, src/mesh, src/dynamicMesh, src/sampling
src/topoChanger src/overset src/fvMotionSolver
2024-02-21 14:31:39 +01:00
ac574a6ccb
STYLE: use static call for regIOobject::store ( #1507 )
2024-02-20 16:56:22 +01:00
87eed74e42
Merge remote-tracking branch 'origin/master' into develop
2024-02-20 15:23:47 +01:00
119dd84327
CONFIG: bump patch level
2024-02-20 14:58:28 +01:00
08df023808
BUG: fvSchemes/fvSolution not properly updated on copy from fallback
2024-02-20 14:58:03 +01:00
ec3bca90fc
ENH: update polySurface and sampledSurfaces
...
- surfaceWriter TryNew() factory methods for more failure tolerant
handling
- reduce communication for sampledSurfaces.
Track non-empty surfaces as bool, only updated on change
(expire/update).
2024-02-16 15:08:32 +01:00
8b85e5c932
ENH: cyclicAMI - clear finished send/recv requests
2024-02-14 16:19:33 +01:00
506802bbea
BUG: wallHeatFlux: avoid field-name inconsistency ( fixes #3102 )
2024-02-14 13:40:29 +00:00