- Nov 15, 2018
-
-
Mark OLESEN authored
- use forwarding templates for the factory method - avoid double use of dynamic_cast. Don't need implicit use in isA<>, can use result directly STYLE: updated iteration over HashTable of mesh objects
-
- Nov 16, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- was using coordinate-system and transform() which is the local-to-global mapping, whereas it should be invTransform() which is the global-to-local mapping
-
Mark OLESEN authored
-
- Nov 15, 2018
-
-
Mark OLESEN authored
-
- Nov 14, 2018
-
-
Mark OLESEN authored
-
- Nov 15, 2018
-
-
Mark OLESEN authored
- simplifies things for legacyCompile
-
mattijs authored
-
Mattijs Janssens authored
See merge request OpenFOAM-plus!220 Code supplied by Daniel Rettenmaier rettenmaier@gsc.tu-darmstadt.de
-
Mattijs Janssens authored
-
- Nov 14, 2018
-
-
mattijs authored
-
- Nov 13, 2018
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- easier when making modifications STYLE: spelling in topoSetSource comments
-
- Nov 12, 2018
-
-
Mark OLESEN authored
- this seems to be the only reliable means of obtaining the values. Using typeName_() yields the wrong value. Using the typeName causes initialization issues (segfault when executing on some systems).
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- resolves better on some compilers.
-
Andrew Heather authored
Feature ioobjectlist registry See merge request OpenFOAM-plus!218
-
Andrew Heather authored
uniformFixedValue: avoid re-evaluation on reading or mapping See merge request Development/OpenFOAM-plus!219
-
mattijs authored
-
Mark OLESEN authored
- support name filtering by class based on <Type> or predicates. Eg, objects.sortedNames<volScalarField>(namePattern); vs objects.sortedNames(volScalarField::typeName, namePattern); These can also be used directly for untyped name matching. Eg, objects.sortedNames<void>(namePattern); Can also use a predicate: objects.sortedNames(wordRe("vol.*Field"), namePattern); objects.sortedNames ( [](const word& clsName){ return clsName.startsWith("vol"); }, namePattern );
-
Mark OLESEN authored
- add IOobjectList::count() methods - lookupClass<Type>() to use types instead of class variables. - additional helpers for parallel: allNames(), checkNames() - provide filterClasses() and filterObjects(), prune_0() method forwarding to HashTable methods for easier access.
-
- Nov 11, 2018
-
-
Mark OLESEN authored
- can be useful for obtaining information about number of fields. Eg, nScalar = mesh.count<volScalarField>(wordre);
-
- Nov 10, 2018
-
-
Mark OLESEN authored
- replace explicit use of wordRe, wordRes, wordHashSet as filters with a MatchPredicate. - support filtering by class based on <Type> or predicates
-
Mark OLESEN authored
- in parameter form, check if it headerClassName() corresponds to the specified class name - in templated form, check if headerClassName() corresponds to the Type:typeName value. Specialization for <void> always returns true (ie, no checks)
-
Mark OLESEN authored
- replace explicit use of word, wordRe, wordRes, wordHashSet as filters with a MatchPredicate, since they all satisfy the requirements for use a predicate. This change reduces code duplication, allows other matcher types (eg, keyType) as well as lambda functions. - add special treatment for a 'const char*' parameter for lookupClass() and the now-deprecated single item lookup() method to promote these parameters to 'word'.
-
- Nov 09, 2018
-
-
Mark OLESEN authored
- naming similar to objectRegistry, with unambiguous resolution. The lookup() methods have different return types depending on the calling parameter. STYLE: use IOobjectListTemplates.C for implementations - previously included as local definition within IOobjectList.C, but will be adding more templated methods soon. - adjust parameters (eg, matchName instead of matcher) to show their function ENH: handle objectRegistry::names<void>(...) - this is equivalent to no Type restriction, and can be used when filtering names. Eg, obr.names<void>(wordRe..);
-
- Nov 11, 2018
-
-
Mark OLESEN authored
- Start brief descriptions with 'Deprecated(YYYY-MM)' so that it is readily visible in the short method description. Consistent date format (YYYY-MM), placed immediately after the \deprecated tag.
-
- Nov 09, 2018
-
-
Mark OLESEN authored
- returns indices of matching entries.
-
- Nov 08, 2018
-
-
Mark OLESEN authored
commit 3f9c7bf4 commit 3cf177e7 ==== ENH: add geometric decomposition constraint (issue #921) - geometric decomposition constraints may be used to prevent the decomposition of regions of the mesh. The geometric constraint is applied according to the face centres, which define the connectivity between cells. Specified in decomposeParDict constraints { geometric { type geometric; geometry { box1 { type box; min (-10 -10 -10); max (1 1 1); } ball1 { type sphere; origin (-2 -2 1); radius 1; } } } } ENH: add 'grow' option for geometric decomposition constraint (issue #921) - the 'grow' option includes an additional check to include cell faces for any cell that already has two or more of its faces "unblocked". This could indicate a connection over a corner, but does not distinguish between connectivity introduced by the constraint and the connectivity defined by other constraints. ENH: geometric decomposition constraint using topoSetFaceSource (issue #921) - replaced use of searchableSurface with a more general and more efficient topoSetFaceSource instead. Since searchableSurface is also available as a topoSetFaceSource, there is no loss in functionality, but using topoSetFaceSource allow directly looping over the faces without creating of an additional List of volumeTypes.
-
Mark OLESEN authored
Work-package-09 geometric constraint See merge request Development/OpenFOAM-plus!217
-
Mark OLESEN authored
-
Mark OLESEN authored
- was deprecated for removal with VTK 8.1.0 definitely removed in VTK 8.2.0
-
Mark OLESEN authored
-
mattijs authored
This fixes the static-initialisation order problem - fieldTypes.C referes to labelIOField etc. which are after it in Make/files and hence the link order.
-
mattijs authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- now takes a const UList<T> as input and returns a List<T> instead of trying to use the same ListType for both. This avoids previously encountered issues when a UList was passed in. - add specialized bitSet handling within subset(), where we can benefit from faster traversal of sparse selections and have a better estimate of the final output size.
-