- Jul 11, 2018
-
-
Mark OLESEN authored
-
- Aug 09, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
mattijs authored
Note: this removes the option to reconstruct by setting nDomains to 1. You now have to explicitly use -reconstruct to reconstruct.
-
mattijs authored
-
mattijs authored
-
Mark OLESEN authored
- more consistent with dictionary method naming. The get<> or getList<> returns a value, doesn't read into a existing location.
-
Mark OLESEN authored
-
- Aug 08, 2018
-
-
Mark OLESEN authored
STYLE: use initial hash size 128 instead of 100 in a few places
-
Mark OLESEN authored
- there were previously no hashing mechanisms for lists so they would fall back to the definition for primitives and hash the memory location of the allocated List object. - provide a UList::Hash<> sub-class for inheritance, and also a global specialization for UList<T>, List<T> such that the hash value for List<List<T>> cascades properly. - provide similar function in triFace to ensure that it remains similar in behaviour to face. - added SymmHash to Pair, for use when order is unimportant. STYLE: use string::hash() more consistently - no particular reason to use Hash<word>() which forwards to string::hash() anyhow
-
Mark OLESEN authored
- allows single or multiple entries
-
Mark OLESEN authored
- With argList::noFunctionObjects() we use the logic added in 4b933332 (issue #352) By removing the '-noFunctionObjects' option, we automatically suppress the creation of function-objects via Time (with argList as a parameter). There is generally no need in these cases for an additional runTime.functionObjects().off() statement Use the argList::noFunctionObjects() for more direct configuration and reduce unnecessary clutter in the -help information. In previous versions, the -noFunctionObjects would have been redundant anyhow, so we can also just ignore it now instead.
-
- Aug 07, 2018
-
-
Mark OLESEN authored
- allows use with any container with begin(), end() and where the "*iterator" dereference returns a label, which is used for indexing into the list of points. This container could be labelUList, bitSet, labelHashSet, etc
-
Mark OLESEN authored
- takes a direct approach of determining which cells are cut and walks the cell faces directly to build the resulting surface. - better handling of corner cases. * Avoids redundant points when the cut passes exactly through a mesh point. * Supresses generation of duplicates faces when the plane cut coincides exactly with a mesh face. - for severely concave cells where the plane cuts a face multiple times there is currently no remedial action taken, except to note the failure and unwind the insertion of the corresponding points and faces.
-
- Aug 06, 2018
-
-
Mark OLESEN authored
- rework to use bitSet for more flexibility
-
- Aug 07, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- extract a list of the HashTable values, optionally sorted.
-
- Aug 06, 2018
-
-
Mark OLESEN authored
-
mattijs authored
-
Mark OLESEN authored
- when both min and max are required, this is more efficient than traversing the list twice.
-
Mark OLESEN authored
-
- Aug 03, 2018
-
-
Mark OLESEN authored
Style changes: - use lookupObjectRef instead of using const_cast - use tmp::New factory
-
Mark OLESEN authored
Style changes: - use lookupObjectRef instead of using const_cast - use tmp::New factory
-
Mark OLESEN authored
Style changes: - use lookupObjectRef instead of using const_cast - use tmp::New factory
-
Mark OLESEN authored
- signedDistance() method is like distance() but retains the positive/negative sign for the side of the plane. - the sign() method returns the sign as -1,0,+1 integer for classification purposes where it is important to distinguish between a zero value and a positive value (eg, for cutting). Optional tolerance can be supplied to round for zero. - refactor and inlined simple and frequently used methods. - add boundBox faceCentre() method, which can be useful for creating clipping planes from a bounding box. Relocated treeBoundBox faceNormals to boundBox since they apply equally there - the meaning of the faces (x-min, x-max, etc) is the same, even if the point addressing for the faces differs.
-
Mark OLESEN authored
- rationalized code dealing with extraction of name or indices from coordinateSystems, polyBoundaryMesh, faBoundaryMesh, fvBoundaryMesh, ZoneMesh to use internal implementations that allow direct searching/matching without building an intermediate list of names. - simpler and more efficient handling of patch group matching.
-
Mark OLESEN authored
- ensures that things stay synchronized when the processor domains have unequal looping.
-
Mark OLESEN authored
- can be used in predicate matching - getNameOp, getTypeOp for accessing the name() and type() of objects
-
Mark OLESEN authored
- do not remove if the dictionary failed to load. - do not remove if -blockTopology was used.
-
- Aug 02, 2018
-
-
Mark OLESEN authored
- centralizes IOobject handling and treatment of alternative locations. If an alternative file location is specified, it will be used instead. - provide decompositionMethod::canonicalName instead of using "decomposeParDict" in various places.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- a second template parameter for the comparison value type instead of ListType::const_reference allows more generic comparison predicates.
-
- Aug 01, 2018
-
-
Mark OLESEN authored
- create a subset copy for sending on the processor patches instead of a List of unsigned ints. Reduces memory overhead and data transfer amount.
-
Mark OLESEN authored
- treat as a List constant without requiring inclusion of ListOps.H - replace use of emptyList<label>() with emptyLabelList directly. The emptyList<T>() casting is disallowed with many modern compilers and now marked as deprecated (expect early removal). - relocate labelList typedef to List.H for more general access. Similar reasoning to having labelUList defined in UList.H
-
Mark OLESEN authored
- makes for easier extraction of boundary values since it encapsulates start/size directly. Eg, SubList<T>(allValues, patches.range()); or bitSet(blocked, patches.range(patchi));
-
Mark OLESEN authored
Eg, processorPolyPatch pp = ...; UOPstream toNbr(pp.neighbProcNo(), pBufs); toNbr << PackedList<Width>(faceValues, pp.range());
-
Mark OLESEN authored
- concise and more efficient
-
Mark OLESEN authored
-