- Nov 15, 2023
-
-
Mark OLESEN authored
- allows separate query/generation of context information
-
- Nov 14, 2023
-
-
Mark OLESEN authored
- extend test to include partition + sort
-
Mark OLESEN authored
ENH: return ITstream::emptyStream() in a 'bad' state - to indicate that it is invalid for reading
-
Mark OLESEN authored
- extends the enumeration (NO_REGISTER, REGISTER, LEGACY_REGISTER). Can be used to tweak registration preference where required and potentially (TDB) to define a different default value in the future
-
Andrew Heather authored
-
Andrew Heather authored
- unspecified field names now return a value of 1 by default - new debug switch can be used to see default selections STYLE: Minor code reformatting
-
Andrew Heather authored
- cuttingPatches now automatically constructed when createPatchMap is true
-
- Nov 10, 2023
-
-
Andrew Heather authored
- Added option to automatically create patch map when consistent=false Example usage: // New optional entry createPatchMap yes; - Cross-ref: EP2230
-
Andrew Heather authored
-
Andrew Heather authored
ENH: Lagrangian: mass exchanges between parcels and carriers See merge request !631
-
-
-
-
STYLE: replace ':' scoping with IOobject::scopedName()
-
- Nov 09, 2023
-
-
mattijs authored
-
Kutalmış Berçin authored
- fix various scripts
-
- Nov 08, 2023
-
-
Mark OLESEN authored
- enables symlink for .cpp and .cxx source files
-
Mark OLESEN authored
- fixes #3025
-
Mattijs Janssens authored
ENH: additional handling for global (non-processor) time paths See merge request !638
-
- Nov 07, 2023
-
-
Mark OLESEN authored
- new methods added to IOobject to ease mixed (serial vs parallel) file locations. Some redirect to Time, others are defined for IOobject only. | "normal" (serial/parallel) | "global" (serial locations) | | ---------------------------|-----------------------------| | caseName() | globalCaseName() | | path() | globalPath() *new* | | path(...) | globalPath(...) *new* | | objectPath() | globalObjectPath() *new* |
-
Mark OLESEN authored
- CompactListList::size() corresponds to the number of sub-lists whereas globalIndex::size() corresponds to the totalSize(). This difference can lead to potential coding errors when switching between pure addressing (eg globalIndex) and addressing with content (eg, CompactListList). Within the source tree, there are no longer any occurances of globalIndex::size() but it is nonetheless unsafe to change its meaning now. Instead provide a commonly named length() method that corresponds to the natural length: ie, the number of offsets minus 1 (with guards). - add CompactListList::writeMatrix for writing the compact contents in an unpacked form (eg, for debugging) without actually needing to unpack into storage. - provide globalIndex::whichProcID() two-parameter version with myProcNo as the first argument. Symmetric with isLocal etc, useful when using a communicator that is not worldComm.
-
Mark OLESEN authored
- avoids clutter of argList::envGlobalPath() ... ENH: allow temporary overwriting of output writeFormat - allows switching for particular output routines COMP: explicitly use TimePaths methods with Time - this simplifies any overloading done at a later stage
-
Mark OLESEN authored
- remnant was left in the NBX implementation for Map<Type>. Still not entirely certain which vendors/versions handle message probe/recv properly, but using the "regular" probe and recv is OK since everything is without threaded race conditions. STYLE: adjust file extension of UPstreamWrapping templates - avoids it being exposed via lnInclude
-
Mark OLESEN authored
- this makes it easier to split creation into a two-stage process as required - extend handling for polyBoundaryMeshEntries, faBoundaryMeshEntries with more functionality. Ensure that these are never registered. ENH: addition writeEntry methods for polyBoundaryMesh - simplifies streaming and collating into other files ENH: polyMesh rereading - update owner/neighbour header information - this avoids accidentally reading the "cells" file if the mesh has been created with NO_READ and then updated STYLE: less vertical space when outputting empty PtrList
-
Mark OLESEN authored
- return a subList view of the mesh faces, owners
-
Mark OLESEN authored
- combined most of the unweighted and weighted decomposition routines such that an empty weight field is treated as uniform weighting. This allows default parameters and cuts down on the number of decompose methods. - for topology-driven decomposition, it is now possible to pass in the owner/neighbour connectivity as a CompactListList directly instead of first creating a labelListList (which was internally repacked into a CompactListList in many cases). However, multiLevelDecomp still uses unpacking (to avoid a larger reworking of code). - support direct creation of some methods (eg, random, scotch etc) without a dictionary - fix incorrect neighbour face weighting (fixes #3019) ENH: relocate calcCellCells from decompositionMethod to globalMeshData - makes it more universally available
-
Mark OLESEN authored
- usually only need big/little defines (which are now in the Fwd) and rarely need byte-swapping. Provide endian.H compatibility include, but foamEndianFwd.H or foamEndian.H to avoid potential name clashes.
-
Mark OLESEN authored
- The pTraits_cmptType returns the data type of 'cmptType' (for arithmetic and VectorSpace types) or is simply a pass-through. This can be combined with the pTraits_nComponents for casting. For example, function ( reinterpret_cast<pTraits_cmptType<Type>::type*>(buf.data()), (buf.size()/pTraits_nComponents<Type>::value) ); ENH: extend Foam::identityOp so support array indexing (pass-through)
-
Mark OLESEN authored
- was using the derived object name (could be something like "region0") instead of the actual registered name (ie, the regIOobject name)
-
- Nov 03, 2023
-
-
-
Andrew Heather authored
ENH: Moving electric sources mapped from external meshes See merge request !630
-
-
-
-
-
-
- Nov 02, 2023
-
-
mattijs authored
-
- Oct 27, 2023
-
-
Mark OLESEN authored
- returns the edge index within the face, -1 if not found
-
- Oct 26, 2023
-
-
Mark OLESEN authored
STYLE: use contains() and reduce reliance on edgeDirection -1/+1 values
-
Mark OLESEN authored
- single() method : simply tests if the globalIndex has nProcs == 1, which is typically from a gatherNone invocation. For example, globalIndex gi; if (...) gi.reset(localSize); else gi.reset(globalIndex::gatherNone{}, localSize); // later... const label begin = (gi.single() ? 0 : gi.localStart()); const label count = (gi.single() ? gi.totalSize() : gi.localSize()); - add front() and back() methods to return the begin/end ranges, and begin_value(), end_value() - as per labelRange. - make more methods noexcept - calcOffset(), calcRange() helper functions to determine the processor-local of a numbering range without the overhead of creating a list of offsets. For example, label myOffset = globalIndex::calcOffset(mesh.nCells()); labelRange mySlice = globalIndex::calcRange(mesh.nCells()); - add globalIndex localEnd() as per CompactListList method STYLE: align looping constructs in CompactListList with List - make more methods noexcept
-