- 21 Dec, 2020 1 commit
-
-
mattijs authored
The polyMesh construct-from-components will now ignore the readOpt for the supplied primitives as before. This again re-allows READ_IF_PRESENT for fv* in combination with supplied primitives.
-
- 16 Dec, 2020 1 commit
-
-
mattijs authored
In reconstruct mode redistributePar will have - master read undecomposed mesh - slaves construct dummy mesh (0 faces/points etc.) but correct patches and zones so all processors have two valid meshes. This was all handled inside fvMeshTools::newMesh and this was behaving differently.
-
- 11 Dec, 2020 1 commit
-
-
This adds a 'geometry' scheme section to the system/fvSchemes: geometry { type highAspectRatio; } These 'fvGeometryMethod's are used to calculate - deltaCoeffs - nonOrthoCoeffs etc and can even modify the basic face/cellCentres calculation.
-
- 08 Dec, 2020 2 commits
-
-
Mark Olesen authored
- (tet, pyr, hex) can be identified from their number of faces and vertices. For these common shapes can use static `test()` method instead of the virtual isA() method. This is much cheaper for calling on an individual basis since it avoids the overhead of constructing an object. ENH: tetCell edge/reverseEdge (already had tetEdge)
-
Mark Olesen authored
- avoid potential future mistakes if someone adds a sizing dimension and finds they have inadvertently called construct labelList with `{std::initializer_list<label>}` instead of `label`
-
- 26 Nov, 2020 1 commit
-
-
mattijs authored
-
- 25 Nov, 2020 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 23 Nov, 2020 1 commit
-
-
mattijs authored
This also is to do with redistributePar: this uses subsetMesh to generate parts to send to different processors. 2) related to 1558: make sure not to choose 'mapped' patches to move the processor patches into so we can use the mapper cloning and correctly size additional data (e.g. offsets). This should be generalised to hold for any patch type holding local data ...
-
- 19 Nov, 2020 1 commit
-
-
Mark Olesen authored
-
- 16 Nov, 2020 1 commit
-
-
mattijs authored
-
- 12 Oct, 2020 1 commit
-
-
Mark Olesen authored
- slightly neater code when disabling/restoring parallel state New const bool oldParRun = Pstream::parRun(false); ... Pstream::parRun(oldParRun); Old const bool oldParRun = Pstream::parRun(); Pstream::parRun() = false; ... Pstream::parRun() = oldParRun;
-
- 07 Oct, 2020 1 commit
-
-
Mark Olesen authored
- support construct face from subset of labels. - additional cellModel face() method to return a single face. - reduce some allocations in cellModel centre/mag methods STYLE: mark old cellModeller methods as compile-time deprecated - deprecated in 2017, but not marked as such STYLE: indentation, spacing in some headers
-
- 28 Sep, 2020 2 commits
-
-
Mark Olesen authored
- returns a range of `int` values that can be iterated across. For example, for (const int proci : Pstream::subProcs()) { ... } instead of for ( int proci = Pstream::firstSlave(); proci <= Pstream::lastSlave(); ++proci ) { ... }
-
Mark Olesen authored
- returns a range of `int` values that can be iterated across. For example, for (const int proci : Pstream::allProcs()) { ... } instead of for (label proci = 0; proci < Pstream::nProcs(); ++proci) { ... }
-
- 20 Jul, 2020 1 commit
-
-
Mark Olesen authored
-
- 14 Jul, 2020 1 commit
-
-
Mark Olesen authored
- This reflects the pre-existing coding situation where const_cast was used throughout to effect the same. STYLE: fix private/protected access - CodedField, codedMixedFvPatchField
-
- 02 Jun, 2020 1 commit
-
-
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).
-
- 22 May, 2020 1 commit
-
-
COMP: deletion of incomplete type
-
- 20 May, 2020 1 commit
-
-
mattijs authored
-
- 14 May, 2020 1 commit
-
-
Mark Olesen authored
ENH: defaulting for destructors where possible STYLE: clear() instead of setSize(0) for plain Lists STYLE: use bool operator instead of valid()/empty() for autoPtr tests
-
- 13 May, 2020 2 commits
-
-
Mark Olesen authored
- similar to changes made in PrimitivePatch (commit 8a5d108f)
-
-
- 04 May, 2020 1 commit
-
-
Mark Olesen authored
-
- 30 Apr, 2020 2 commits
-
-
Mark Olesen authored
- simplified templating, which cleans up code and does not appear to break any normal user coding. ENH: unique_ptr instead of homegrown demand-driven handling.
-
Mark Olesen authored
- allows easier identification for future changes
-
- 28 Apr, 2020 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
- use dictionary::get<..> instead of lookup in a few more places
-
- 18 Mar, 2020 1 commit
-
-
Mark Olesen authored
-
- 21 Feb, 2020 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 19 Feb, 2020 1 commit
-
-
- reduces the number of parameters that are being passed around and allows future additions into the IOstreamOption with mininal effort.
-
- 18 Feb, 2020 1 commit
-
-
- `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
-
- 28 Jan, 2020 1 commit
-
-
Mark Olesen authored
-
- 23 Jan, 2020 1 commit
-
-
Mark Olesen authored
- rationalized some layout and comments
-
- 16 Jan, 2020 2 commits
-
-
Mark Olesen authored
- consistent way of writing "patch" + Foam::name(id) etc.
-
Mark Olesen authored
- remove (unused) Istream constructors, prune some unused methods, rationalize write() vs writeDict(). Deprecate inconsistent construction order. - handle empty names for ".ftr" surface patches (for plain triSurface format) with double-quoted strings for more reliable streaming. Written on a single line. This is _backward_ compatible, but if users have been parsing these files manually, they will need to adjust their code. Previously: ``` ( frt-fairing:001%1 empty windshield:002%2 empty ... ) ``` Updated (with example handling of empty name): ``` ( frt-fairing:001%1 empty windshield:002%2 "" ... ) ```
-
- 19 Dec, 2019 1 commit
-
-
1) New skewCorrectedSnGrad for non-orthogonal and skewness corrector 2) New freeSurfacePressure and freeSurfacePressure working with interfaceTrackingFvMesh 3) New interfaceTrackingFvMesh
-
- 13 Dec, 2019 1 commit
-
-
Mark Olesen authored
-
- 31 Oct, 2019 1 commit
-
-
OpenFOAM bot authored
-