- Mar 13, 2024
-
-
- Mar 11, 2024
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Mar 10, 2024
-
-
Mark OLESEN authored
- provide no_topology() characteristic to avoid triggering potentially expensive mesh connectivity calculations when they are not required. - remove/deprecate unused pointField references from the renumber methods. These appear to have crept in from outer similarities with decompositionMethod, but have no meaning for renumbering. - remove/deprecate various unused aggregation renumberings since these have been previously replaced by pre-calling calcCellCells, or using bandCompression directly. - make regionFaceOrder for block-wise renumbering optional and treat as experimental (ie, default is now disabled). The original idea was to sort the intra-region and inter-region faces separately. However, this will mostly lead to non-upper triangular ordering between regions, which checkMesh and others don't really like. ENH: add timing information for various renumberMesh stages ENH: add reset of clockTime and cpuTime increment ...
-
- Mar 07, 2024
-
-
Kutalmış Berçin authored
misc changes for reduced stringstream and MPI overhead See merge request !672
-
Mark OLESEN authored
- particularly useful in these combinations: 1. OCharStream buf; // populate ISpanStream is(buf.view()); // parse 2. // read from file ifile.getLine(str); ISpanStream is(str); // parse These avoid making a copy of the character content, compared to versions with stringstream: OStringStream buf; IStringStream is(buf.str());
-
Mark OLESEN authored
- a few places still used listCombineReduce instead of newer constructs (eg allGatherList) with fewer MPI calls. - align triangulation handling of turbulentDFSEMInlet and patchInjectionBase with meshTools/triangulatedPatch (will ease future code refactoring)
-
Kutalmış Berçin authored
Improve streaming matrix and internal memory management See merge request !671
-
Mark OLESEN authored
- reduce local overhead prior to sending for master assembly - non-blocking mode when assembling solution vector - automatic resizing of pivots
-
Mark OLESEN authored
- align member order between template and non-template versions - move construct, move assignment
-
- Mar 06, 2024
-
-
Kutalmış Berçin authored
ENH: adjust renumbering methods, extend renumberMesh options See merge request Development/openfoam!669
-
Mark OLESEN authored
- renumberMesh now has -dry-run, -write-maps, -no-fields, -renumber-method, -renumber-coeffs options. * Use -dry-run with -write-maps to visualize the before/after effects of renumbering (creates a VTK file). * -no-fields to renumber the mesh only. This is useful and faster when the input fields are uniform and the -overwrite option is specified. * -renumber-method allows a quick means of specifying a different default renumber method (instead of Cuthill-McKee). The -renumber-coeffs option allows passing of dictionary content for the method. Examples, // Different ways to specify reverse Cuthill-McKee * -renumber-method RCM * -renumber-coeffs 'reverse true;' * -renumber-method CuthillMcKee * -renumber-coeffs 'reverse true;' * -renumber-coeffs 'method CuthillMcKee; reverse true;' // Other (without dictionary coefficients) * renumberMesh -renumber-method random // Other (with dictionary coefficients) renumberMesh \ -renumber-method spring \ -renumber-coeffs 'maxCo 0.1; maxIter 1000; freezeFraction 0.99;' // Other (with additional libraries) renumberMesh -renumber-method zoltan -lib zoltanRenumber COMP: build zoltan renumbering to MPI-specific location - zoltan and Sloan renumbering are now longer automatically linked to the renumberMesh utility but must be separately loaded by a command-line option or through a dictionary "libs" entry. ENH: add output cellID for decomposePar -dry-run -cellDist
-
Mark OLESEN authored
- reads file contents into a DynamicList<char>, which can then be broadcast, moved to a ICharStream etc.
-
Mark OLESEN authored
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.
-
Mark OLESEN authored
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]
-
Mark OLESEN authored
- 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
-
Mark OLESEN authored
- avoid string conversion/concatenation unless profiling hooks are possible (ie, active or Extrae is loaded).
-
- Mar 05, 2024
-
-
Andrew Heather authored
Misc. changes in the finite-area module See merge request Development/openfoam!661
-
-
-
-
-
-
-
STYLE: finiteArea: consistent use of =delete for removed ctors/assignments
-
- makes it somewhat easier to find a correspondence of patch names and patch index (for paraview)
-
- Feb 28, 2024
-
-
mattijs authored
-
- Feb 24, 2024
-
-
Mark OLESEN authored
- permits reuse in other places without subsequent communication
-
Mark OLESEN authored
- 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
-
Mark OLESEN authored
-
- Feb 23, 2024
-
-
Mark OLESEN authored
- 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
-
Mark OLESEN authored
- example use: mesh.newIOobject(name, { IOobject::REGISTER }); vs mesh.newIOobject ( name, IOobject::NO_READ, IOobject::NO_WRITE, IOobject::REGISTER );
-
Andrew Heather authored
Misc. changes in the regionFaModels See merge request !663
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
- Feb 22, 2024
-
-
mattijs authored
-