- Oct 22, 2020
-
-
Ivor Clifford authored
Allows specification of extrusion path using blockMesh 'edges' syntax. See tutorials/mesh/extrudeMesh/polyline Contribution by Ivor Clifford/Paul Scherrer Institut
-
- Oct 20, 2020
-
-
Mark OLESEN authored
- autoPtr to Function requires clone() method, not optional copy/move argument. - fix bad character range for 'sed'
-
- Oct 19, 2020
-
-
Mark OLESEN authored
- can be useful when confronted with partial outputs - provision for redirecting error/warning
-
Mark OLESEN authored
ENH: add some scalar constants for .org compatibility (#1881) Although it can very much be a moving target, it can prove partly useful to have some compatibility constants/methods. - The wholesale change of 'GREAT' -> 'great' etc (JAN-2018), makes user coding for multiple versions problematic. When COMPAT_OPENFOAM_ORG is defined, now define constants (aliases) named as per the openfoam.org version. Values, however, remain identical. - For type-safe dictionary value retrieval, we have the templated get<> methods added around NOV-2018 and deprecated the lookupType method. The .org version followed suit in NOV-2019, but opted for renaming the templated lookupType method as a templated 'lookup' method. Using this is discouraged, but allowed when COMPAT_OPENFOAM_ORG is defined.
-
- Oct 15, 2020
-
-
Mark OLESEN authored
- flips state while preserving the textual representation. Eg, OFF <-> ON, YES <-> NO etc. - fix test case to avoid triggering abort(), which we cannot try/catch
-
Mark OLESEN authored
- not usually of any interest. Unifies code for Ostream and std::ostream operators
-
Mark OLESEN authored
- provides a more direct means of generating a compound token without an Istream - add transferCompoundToken() without Istream reference - mark more token methods as noexcept
-
Mark OLESEN authored
- was marked as transitional/deprecated (2018-02), now deleted. - avoids unexpected stealing of the pointer. Use the move assignment it that is the intention.
-
Mark OLESEN authored
-
- Oct 13, 2020
-
-
Mark OLESEN authored
STYLE: update cell methods - avoid shadow variable names, range-for, etc - simplify coding STYLE: relocate cellModeller (compatibility) from namespace to a struct - avoids misleading namespace clutter in doxygen
-
Mark OLESEN authored
STYLE: avoid shadow variable names, add more doxygen markup STYLE: cull some unused code from triangleFuncs
-
Mark OLESEN authored
- add point() as unchecked getter method. - add hitPoint(.., label) convenience method for common combination of setHit() + setIndex(label) + setPoint(..) GIT: remove unused headers, typedefs (point2DHit.H pointHitSort.H)
-
- Oct 12, 2020
-
-
Mark OLESEN authored
- mostly reflects minor additions to Pstream methods and blockMesh improvements.
-
Mark OLESEN authored
-
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;
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- on ArchLinux, everything is installed under /usr/include/scotch. The detection script uses SCOTCH_ARCH_PATH as an initial guess for ptscotch as well. However, on the second pass, it has an absolute value ("/usr") instead of a logical one ("scotch-system"). This resulted in the logic for handling scotch+ptscotch subdirs being bypassed.
-
- Oct 08, 2020
-
-
Mark OLESEN authored
- the problem arises when output fields are missing on some processors. When the information is combined, the resulting HashTables can have different insertion orders. This poses an issue when there are hash key collisions and thus different chaining. - Use sorted order.
-
- Oct 07, 2020
-
-
- additional -tool= option to guide the discovery process
-
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
-
Mark OLESEN authored
- incorrectly used const access for the tmp instead of ref()
-
Mark OLESEN authored
-
Mark OLESEN authored
- consistent with other blockEdge types - adjust some debug output
-
- Oct 06, 2020
-
-
Andrew Heather authored
Feature block mesh edges See merge request !383
-
- Oct 05, 2020
-
-
Mark OLESEN authored
- in most cases this eliminates manually calculation of circumferential points. TUT: improve parameterization of sphere blockMeshDict - allow separate parameterization of radius, ratio of inner to outer, and the number of divisions in x/y/z and radial directions
-
Mark OLESEN authored
- The arc will frequently enclose an angle less than 180 degrees. For the case, it is possible to define the arc by its endpoints and its centre (origin) point. For example, arc 0 1 origin (0 0 0); When defined in the way, any discrepancy in the arc radius for the endpoints is resolved by adjusting the origin to ensure that the average radius is satisfied. It is also possible to specify a \em flatness factor as a multiplier of the radius. For example, arc 0 1 origin 1.1 (0 0 0); ENH: minor code cleanup for block edges ENH: expose point appending as polyList::concat
-
Mark OLESEN authored
STYLE: adjust blockMesh advanced/non-advanced options - make -merge-points "non-advanced" (for better exposure) - make -write-obj "advanced" (-write-vtk is preferred)
-
- Oct 02, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- contents to be filled with a later assignment. This can help avoid deduction issues when populating from a list of tokens, and the templated version is selected: ``` template<class T> primitiveEntry(const keyType&, const T&); ``` ENH: support construct empty ITstream with given name - populate contents later by assigment
-
- Oct 01, 2020
-
-
Mark OLESEN authored
- Eg, cannot compare addresses of DynamicList<T,16> and DynamicList<T,8> [clang], so compare their cdata pointers instead.
-
Mark OLESEN authored
- use clear/swap paradigm for more code reuse Note: fixed similar issue with copy/reuse constructor
-
Mark OLESEN authored
- provides consistency with identity(label, label) and looks more familiar than using labelRange::labels() - relocates labelRange IO operators to IntRange ENH: make sliceRange interators random access STYLE: scalarRanges::match() instead of predicate operator
-
- Sep 30, 2020
-
-
mattijs authored
Triggered when running e.g. postProcess
-
- Sep 29, 2020
-
-
Andrew Heather authored
Pstream ranges See merge request !382
-
- Sep 28, 2020
-
-
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) { ... }
-
Mark OLESEN authored
- wedge geometry, so topology merge results in zero-sized faces.
-
Mark OLESEN authored
- only use implicit legacy handling if the "fanCurve" entry is missing and the "file" entry is present.
-
Mark OLESEN authored
-