Commit Graph

27454 Commits

Author SHA1 Message Date
Kutalmis Bercin
dc2792d0f1 SQUASH: modernize the calcExtremaData routine 2025-03-31 11:24:51 +01:00
Kutalmis Bercin
d5764cee62 SQUASH: simplify the weighted average routine 2025-03-31 11:15:51 +01:00
Kutalmis Bercin
188bce8c38 SQUASH: remove the duplicate logic 2025-03-31 09:36:36 +01:00
Kutalmis Bercin
883d5ed971 STYLE: avoid any trailing spaces 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
31deb5f3be SQUASH: rename .C as .cxx 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
92ddaf6755 SQUASH: 970449: add the spherical tensor 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
4e287cec4c SQUASH: 56377ad: various changes to the extrema functionality 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
b34dc2a5a3 SQUASH: 970449: update the fields during the execution
Update the fields at the execution stage instead of the 'read' stage.
Otherwise, various fields which are registered after the 'read' stage
will be missed.
2025-03-31 08:34:28 +00:00
Kutalmis Bercin
02959dc870 SQUASH: 56377ad: documentation updates 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
d0a6d71ae7 SQUASH: 970449: documentation updates 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
b594deee65 SQUASH: 970449: update the copyright statement 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
4b88d5e153 SQUASH: 39000e8e1b: remove Info duplications 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
6282fefe5b WIP: ensure backward-compatibility for fieldMinMax 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
6d43ee2034 WIP: collect the data writer routines into functions 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
79ba2ccdd4 STYLE 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
864c297104 SQUASH: 970449: use more convenient type trait checks 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
7765382f13 SQUASH: dd6d51b6e: remove redundant template file name 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
0edb5ea6b4 STYLE 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
a879f47980 SQUASH: various style changes 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
060f37e912 SQUASH: replace the for-loop with a modern version 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
2732ad35cf SQUASH: f17efd1: use more compact form for field slicing 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
ed4bbc4631 SQUASH: 970449: simplify the calcMin/calcMax routines (they were there for the metadata) 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
3c5cd38f52 SQUASH: 3876b5d: avoid dimension mixing in mesh.V 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
90ee449c8f SQUASH: 970449: add missing reference 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
798b3f4d2d SQUASH: 970449: retrieve the field in a more consistent and efficient way 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
653feb6820 SQUASH: 970449: pass the enum 'modeType' by value 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
829d32b7be SQUASH: 970449: use more useful naming convention for the template file 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
fa260b5c2d SQUASH: 970449: use inplace value-count reduce 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
40eda57389 WIP: fieldStatistics: add volume-weighted average to the options 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
5f2d55e07b WIP: fieldStatistics: introduce flag to process internal fields only 2025-03-31 08:34:28 +00:00
Kutalmis Bercin
9fe527ba3a WIP: fieldStatistics: new function object 2025-03-31 08:34:28 +00:00
Mark Olesen
707db0b65b COMP: avoid deprecated headers for CGAL-6.0 2025-03-24 16:27:02 +01:00
Mark Olesen
8716795d86 COMP: more int/label consistency for communicator parameter 2025-03-24 16:27:02 +01:00
Mattijs Janssens
8bbfe6eb44 Merge branch 'remove-posix-regex' into 'develop'
DEFEATURE: remove POSIX regex interface (#3343)

See merge request Development/openfoam!733
2025-03-24 10:33:15 +00:00
Mark Olesen
aaa9af9ee8 DEFEATURE: remove POSIX regex interface (#3343)
- compiler versions are now sufficient that only the C++ regex
  interface is now being used. Can remove the old POSIX code
  accordingly.

  This change also removes any dependency on the SubStrings class to
  manage the matching results.

ENH: remove OpenFOAM dependencies from MacOS addr2line utility
2025-03-21 14:41:43 +01:00
Mattijs Janssens
4de0b84c2f Merge branch 'pstream-topo-aware' into 'develop'
additional topology-aware handling for Pstream

See merge request Development/openfoam!731
2025-03-20 12:02:45 +00:00
Mark Olesen
db871856c0 CONFIG: add named topoControls 2025-03-20 10:51:43 +00:00
Mark Olesen
a01f3ed8b7 ENH: add node-based gatherList() 2025-03-20 10:51:43 +00:00
Mark Olesen
c4b261c615 ENH: add node-based gather(), listGather(), mapGather() 2025-03-20 10:51:43 +00:00
Mark Olesen
7b0ab0dbb3 ENH: add node-based broadcasting and reduction 2025-03-20 10:51:43 +00:00
Mark Olesen
b9b0d1b3aa STYLE: use weighted average/sum in a few places
- minor adjustments to some BCs construction:
  * ensure origin/axis are zero-initialized
  * use dictionary get<> instead of lookup
2025-03-20 11:14:39 +01:00
Mark Olesen
034a0524af ENH: add weighted average and weighted sum functions (local and global)
- convenience, avoids creating intermediate fields and for
  gWeightedAverage() requires one fewer reduction

ENH: combine loops for FieldField averaging

STYLE: remove clip() function, superseded by clamp_range() - JAN-2023
2025-03-19 12:10:27 +01:00
Mark Olesen
eaa65913f4 CONFIG: combine flex/flex++ rules (minor cleanup)
- generate .cc (instead of .C) intermediate files, consistent with how
  we manage other generated code and makes them less case sensitive
2025-03-19 12:10:12 +01:00
mattijs
6dd8804acb BUG: fixup. See #3334 2025-03-17 15:07:25 +00:00
mattijs
a77aaa7582 BUG: AMIInterpolation: reset cached data. Fixes #3334 2025-03-17 14:11:38 +00:00
Andrew Heather
5cc36dc5b7 Merge branch 'issue-3211-fan-jumpCyclic' into 'develop'
BUG: fan: bc value not updated. See #3211

See merge request Development/openfoam!701
2025-03-17 14:11:12 +00:00
Mattijs Janssens
d4a959a93f BUG: fan: bc value not updated. See #3211 2025-03-17 14:11:12 +00:00
Mark Olesen
09e04003c4 CONFIG: support Allwmake with -bear-output-dir (#3322) 2025-03-17 11:58:25 +01:00
Mark Olesen
dcbd546d51 FIX: incorrect parameters for IN_PLACE MPI_Gather, MPI_Scatter
STYLE: mark Pstream::scatterList() as deprecated

- this entry point is not directly used anywhere, only the
  scatterList_algorithm backend is actually used.

  The scatterList() routine is misnomer since it actually works like a
  broadcast that skips overwriting the local rank, but only if used in
  combination with the gatherList() manual implementation that uses
  the same walk pattern.
2025-03-14 17:55:12 +01:00
Mark Olesen
d64c6371f1 ENH: foamDictionary now respects header format [ascii/binary] (#3329) 2025-03-14 09:08:04 +01:00