- Apr 16, 2024
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- The internal storage location of finite-area changes from being piggybacked on the polyMesh registry to a having its own dedicated registry: * allows a clearer separation of field types without name clashes. * prerequisite for supporting multiple finite-area regions (future) Old Locations: ``` 0/Us constant/faMesh system/faMeshDefinition system/faSchemes system/faSolution ``` New Locations: ``` 0/finite-area/Us constant/finite-area/faMesh system/finite-area/faMeshDefinition (or system/faMeshDefinition) system/finite-area/faSchemes system/finite-area/faSolution ``` NOTES: The new locations represent a hard change (breaking change) that is normally to be avoided, but seamless compatibility handling within the code was found to be unworkable. The `foamUpgradeFiniteArea` script provides assistance with migration. As a convenience, the system/faMeshDefinition location continues to be supported (may be deprecated in the future).
-
Mark OLESEN authored
- lower memory overhead, consistent access pattern
-
Mark OLESEN authored
- use an internal 'typedef MeshObject<...> MeshObject_type' within derived classes. Reduces clutter and eases any updates.
-
Mark OLESEN authored
- Delete() will perform a 'checkOut()' which does the following: * remove the object from the registry * delete the pointer (if owned by the registry) - Release() does the following: * transfer ownership of the pointer (if owned by the registry) - Store() does the following: * transfer ownership of the pointer to the registry ENH: use UPtrList of sorted objects for MeshObject updates - few allocations and lower overhead than using a HashTable, ensures the same walk order over the objects (in parallel) STYLE: adjust meshObject debug statements
-
Mark OLESEN authored
STYLE: update code style for phi modification (engine motion) ENH: pass isMeshUpdate param in fvMesh/polyMesh clearOut() methods - top-level use of isMeshUpdate parameter to clearOut and clearAddressing was being inadvertently filtered out
-
Mark OLESEN authored
- after the modification of d578d48a, the parent was now actually searched. However, should be returning "constant" and not trigger a FatalError if the file/directory is not found.
-
Mark OLESEN authored
- findStrings, findMatchingStrings now mostly covered by matching intrinsics in wordRe and wordRes. Add static wordRes match() and matching() variants COMP: remove stringListOps include from objectRegistry.H - was already noted for removal (NOV-2018)
-
Mark OLESEN authored
- an example of the new, more succinct refConstCast version: auto& abc = refConstCast<adjointVectorBoundaryCondition>(Uab); older: adjointVectorBoundaryCondition& abc = refCast<adjointVectorBoundaryCondition> ( const_cast<fvPatchVectorField&>(Uab) ); or: adjointVectorBoundaryCondition& abc = const_cast<adjointVectorBoundaryCondition&> ( refCast<const adjointVectorBoundaryCondition>(Uab) ); - an example of the new, more succinct isA_constCast version: auto* acapPtr = isA_constCast<fieldType>(abf[patchi]); if (acapPtr) { auto& acap = *acapPtr; ... } older: if (isA<fieldType>(abf[patchi])) { fieldType& acap = const_cast<fieldType&> ( refCast<const fieldType>(abf[patchi]) ); ... } STYLE: remove spurio...
-
- Apr 15, 2024
-
-
mattijs authored
- NewIFstream would read complete remote file to decide if was collated. - This limits files to 31bit size - Instead now have master-only opening of file. - Still has problem with refinement history/cellLevel etc.
-
- Apr 11, 2024
-
-
Kutalmış Berçin authored
-
- Apr 10, 2024
-
-
Mark OLESEN authored
- previously would always return "constant" as the instance for an optional dir/file that wasn't found. However, this meant retesting to screen out false positives. Now support an additional parameter 'bool constant_fallback = ...' to return "constant" or an empty word. The method signature changes slightly with a new optional bool parameter: //! Return \c "constant" instead of \c "" if the search failed const bool constant_fallback = true ENH: code consolidation for findInstancePath - relocate from Time to TimePaths and provide an additional static version that is reused in fileOperations BUG: distributedTriSurfaceMesh:::findLocalInstance broken (#3135) - was not checking the parent at all. COMP: remove unused findInstancePath(const fileName&, ..) method
-
Mark OLESEN authored
- support construct faceZoneSet from faceSet (#3126) ENH: support unregistered loading of cell/face/point sets
-
Mark OLESEN authored
- leave 'readContents' method name for exposed (public) methods. Generally not a problem, but can confuse the compiler when various public/private versions are available with the same number of parameters. STYLE: adjust meshObject debug statements
-
Mark OLESEN authored
- regIOobject::store(std::unique_ptr<...>&& ptr) - IOobjectList::add(std::unique_ptr<...>&& ptr) STYLE: io.globalCaseName() instead of io.time().globalCaseName() [#3007]
-
Mark OLESEN authored
ENH: combine broadcasts for uncollated master-only handling
-
Mark OLESEN authored
- the rootProcNo is usually == UPstream::masterNo()
-
- Apr 08, 2024
-
-
Kutalmış Berçin authored
-
- Apr 05, 2024
-
-
Mark OLESEN authored
- the type/name for field caching were saved as word, but ensight has things like "tensor symm" etc, which do not parse very well as 'word'. Now save as 'string' type. Backwards compatibility is OK since a word token will also be readable as string etc.
-
Mark OLESEN authored
- makes string reading consistent with fileName reading. Related to #3133 to also allow compatibility when reading existing dictionaries written with unquoted string contents.
-
- Apr 03, 2024
-
-
Mark OLESEN authored
- used defunct "processors/" directory naming, and includes are now addressed by the file-handler anyhow. ENH: support 'tutorials/Alltest -init' - for copying/creating test directory without running
-
- Mar 30, 2024
-
-
mattijs authored
-
- Mar 28, 2024
-
-
mattijs authored
Problem was that the zero fvMeshSubset constructed did not reset the distributed flag.
-
- Mar 27, 2024
-
-
Kutalmış Berçin authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
- Mar 21, 2024
-
-
Kutalmış Berçin authored
-
- Mar 20, 2024
-
-
mattijs authored
-
- Mar 19, 2024
-
-
Mark OLESEN authored
- in renumberMesh replace calculation of a subMesh connectivity with calculation of the full mesh connectivity followed by subsetting of the full adjacency matrix. This should reduce the overall number of operations. (MR !669)
-
- Mar 18, 2024
-
-
Mark OLESEN authored
- allow more control over using parallel communication or not.
-
Mark OLESEN authored
STYLE: replace PackedListCore.H with in-file definition
-
Mark OLESEN authored
topoSet: allow use of 'zone' instead 'set', 'zones' instead of 'sets' in all set sources See merge request !674
-
-
Mark OLESEN authored
Feature topo set See merge request !668
-
- added solidBodyMotionFunctions to topoSet which allows things like moving cellSet selection for fvOptions etc. COMP: relocate solidBodyMotionFunctions to meshTools Co-authored-by: Kutalmis Bercin <>
-
mattijs authored
-
mattijs authored
-
mattijs authored
-