- Dec 03, 2021
-
-
Mark OLESEN authored
STYLE: hostName() is short name, don't need parameter
-
- Oct 08, 2021
-
-
Mark OLESEN authored
- top-level faceCells() on the boundary list simplifies the creation of lduAddressing etc, can also be useful on its own STYLE: replace isA/refCast combination with a single isA
-
- Mar 17, 2021
-
-
Mark OLESEN authored
- simplifies local toggling. - centralize fileModification static variables into IOobject. They were previously scattered between IOobject and regIOobject
-
- Mar 04, 2021
-
-
- return type of `eigenVectors` field functions should be `tensor` instead of `symmTensor`
-
- Dec 08, 2020
-
-
Mark OLESEN authored
- for boundary meshes, zones etc. The behaviour with an empty matcher was either not properly documented, and looped through all names just to establish there was no match. STYLE: removed redundant typedefs for point fields
-
- Nov 19, 2020
-
-
Mark OLESEN authored
ENH: support construction of zero-sized IndirectList - useful when addressing is to be generated in-place after construction. Eg, indirectPrimitivePatch myPatches ( IndirectList<face>(mesh.faces(), Zero), mesh.points() ); labelList& patchFaces = myPatches.addressing(); patchFaces.resize(...); // populate patchFaces STYLE: add noexcept for zero/one fields and remove old dependency files COMP: correct typedefs for geometricOneField, geometricZeroField
-
- Oct 28, 2020
-
-
Mark OLESEN authored
- make patchFieldType default to calculated, as per GeometricField constructor
-
- Jun 10, 2020
-
-
mattijs authored
This e.g. was giving a problem with using volPointInterpolation (in functionObjects) with non-blocking global reductions.
-
- Jun 02, 2020
-
-
Mark OLESEN authored
- previously introduced `getOrDefault` as a dictionary _get_ method, now complete the transition and use it everywhere instead of `lookupOrDefault`. This avoids mixed usage of the two methods that are identical in behaviour, makes for shorter names, and promotes the distinction between "lookup" access (ie, return a token stream, locate and return an entry) and "get" access (ie, the above with conversion to concrete types such as scalar, label etc).
-
- Mar 11, 2020
-
-
Andrew Heather authored
Often we want to copy a field and replace boundary conditions, e.g. change type to calculated for some patches. This has typically been achieved by creating a word list of new patch types which are then fed through to the fvPatchField::New factory method. This is OK for types that require no additional input (usually from dictionary) but leaves other more complex types partially constructed/usable. The new constructor clones all BCs except those with indices specified, for which the fvPatchField::New method is called for the supplied patch field type.
-
- Feb 18, 2020
-
-
Mark OLESEN authored
-
- `tensor` and `tensor2D` returns complex eigenvalues/vectors - `symmTensor` and `symmTensor2D` returns real eigenvalues/vectors - adds new test routines for eigendecompositions - improves numerical stability by: - using new robust algorithms, - reordering the conditional branches in root-type selection
-
- Jan 31, 2020
-
-
Mark OLESEN authored
-
- Dec 09, 2019
-
-
Mark OLESEN authored
-
- Nov 22, 2019
-
-
Mark OLESEN authored
STYLE: split off into separate file
-
- Nov 20, 2019
-
-
Mark OLESEN authored
-
- Nov 15, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- also use tmp::New forwarding internally
-
- Nov 11, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- silently deprecate 'startsWith', 'endsWith' methods (added in 2016: 2b143606), in favour of 'starts_with', 'ends_with' methods, corresponding to C++20 and allowing us to cull then in a few years. - handle single character versions of starts_with, ends_with. - add single character version of removeEnd and silently deprecate removeTrailing which did the same thing. - drop the const versions of removeRepeated, removeTrailing. Unused and with potential confusion. STYLE: use shrink_to_fit(), erase()
-
- Oct 31, 2019
-
-
OpenFOAM bot authored
-
- Nov 05, 2019
-
-
Mark OLESEN authored
- this can help if using std algorithms that return a const reference such as std::min() does.
-
- Jun 26, 2019
-
-
OpenFOAM bot authored
-
- Jun 07, 2019
-
-
Sergio Ferraris authored
Integration of VOF MULES new interfaces. Update of VOF solvers and all instances of MULES in the code. Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models Updating reactingEuler tutorials accordingly (most of them tested) New eRefConst thermo used in tutorials. Some modifications at thermo specie level affecting mostly eThermo. hThermo mostly unaffected New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial. Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for chtMultiRegionTwoPhaseEulerFoam. Update of interCondensatingEvaporatingFoam solver.
-
- Jun 04, 2019
-
-
Mark OLESEN authored
- use outerProduct for sumSqr() for consistency with sqr()
-
- May 28, 2019
-
-
Mark OLESEN authored
- for most functions the input type and return type are identical, but MinMax, sumMag are not.
-
- Jan 07, 2019
-
-
Mark OLESEN authored
- reduced clutter when iterating over containers
-
- Feb 13, 2019
-
-
Mark OLESEN authored
-
- Feb 06, 2019
-
-
OpenFOAM bot authored
-
- Jan 25, 2019
-
-
Mark OLESEN authored
- workaround for some old compilers many years ago, but no longer relevant
-
- Jan 10, 2019
-
-
Mark OLESEN authored
- use forwarding tmp factory methods, auto types
-
Mark OLESEN authored
- use forwarding tmp factory methods
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- Global functions are unary or combining binary functions, which are defined in MinMax.H (MinMaxOps.H). There are also global reduction functions (gMinMax, gMinMaxMag) as well as supporting 'Op' classes: - minMaxOp, minMaxEqOp, minMaxMagOp, minMaxMagEqOp Since the result of the functions represents a content reduction into a single MinMax<T> value (a min/max pair), field operations returning a field simply do not make sense. - Implemented for lists, fields, field-fields, DimensionedField, GeometricField (parallel reducing, with boundaries). - Since the minMax evaluates during its operation, this makes it more efficient for cases where both min/max values are required since it avoids looping twice through the data. * Changed GeometricField writeMinMax accordingly. ENH: clip as field function - clipping provides a more efficient, single-pass operation to apply lower/upper limits on single or multiple values. Examples, scalarMinMax limiter(0, 1); limiter.clip(value) -> returns a const-ref to the value if within the range, or else returns the appropriate lower/upper limit limiter.inplaceClip(value) -> Modifies the value if necessary to be within lower/upper limit Function calls clip(value, limiter) -> returns a copy after applying lower/upper limit clip(values, limiter) -> returns a tmp<Field> of clipped values
-
- Jan 09, 2019
-
-
Mark OLESEN authored
-
- Jan 03, 2019
-
-
Mark OLESEN authored
- a holdover from introducing the endBlock() method
-
- Dec 11, 2018
-
-
Mark OLESEN authored
- makes the intent clearer and avoids the need for additional constructor casting. Eg, labelList(10, Zero) vs. labelList(10, 0) scalarField(10, Zero) vs. scalarField(10, scalar(0)) vectorField(10, Zero) vs. vectorField(10, vector::zero)
-
- Nov 26, 2018
-
-
Mark OLESEN authored
- can now things like ref(), boundaryFieldRef(), primitiveFieldRef() with an optional argument that avoids triggering any update events Instead of Field<Type>& iF = const_cast<Field<Type>&>(fld.primitiveField()); can now write Field<Type>& iF = fld.primitiveFieldRef(false); or simply auto& iF = fld.primitiveFieldRef(false);
-
- Nov 16, 2018
-
-
Mark OLESEN authored
-