- May 26, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- both classes are nearly identical and should be merged in the future.
-
Mark OLESEN authored
-
- May 25, 2017
- May 24, 2017
-
-
mattijs authored
-
Andrew Heather authored
Initial attempt to track oriented surface fields See merge request !104
-
mattijs authored
-
mattijs authored
-
Andrew Heather authored
Merge branch 'feature-oriented-fields' of develop.openfoam.com:Development/OpenFOAM-plus into feature-oriented-fields
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
STYLE: adjust parameter names and template types in invertManyToMany - more explicit about the acceptable list types
-
Mark OLESEN authored
- The inGroups is a wordList. It can be flattened on output to make files more readable.
-
- May 22, 2017
-
-
Mark OLESEN authored
- holding a pointer instead of a reference for edgeFaceCirculator simplifies overall handling.
-
Andrew Heather authored
Integration foundation See merge request !99
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- May 19, 2017
-
-
Andrew Heather authored
Further hash table iter clean-up See merge request !113
-
Andrew Heather authored
-
- May 18, 2017
-
-
mattijs authored
-
Mark OLESEN authored
Hash table method enhancements See merge request !112
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
COMP: avoid undefined-var-template warning in runTimePostProcessing
-
Andrew Heather authored
-
mattijs authored
-
- May 17, 2017
-
-
Mark OLESEN authored
-
- May 19, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- May 17, 2017
-
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
BUG: foamToEnsight fails with missing field at time 0 (fixes #473)
-
mattijs authored
-
mattijs authored
-
Mark OLESEN authored
- provides a summary hash of classes used and their associated object names. The HashTable representation allows us to leverage various HashTable methods. This hashed summary view can be useful when querying particular aspects, but is most useful when reducing the objects in consideration to a particular subset. For example, const wordHashSet interestingTypes { volScalarField::typeName, volVectorField::typeName }; IOobjectList objects(runTime, runTime.timeName()); HashTable<wordHashSet> classes = objects.classes(); classes.retain(interestingTypes); // Or do just the opposite: classes.erase(unsupportedTypes); Can also use the underlying HashTable filter methods STYLE: use templated internals to avoid findString() when matching subsets
-
Mark OLESEN authored
- Generalized means over filtering table entries based on their keys, values, or both. Either filter (retain), or optionally prune elements that satisfy the specified predicate. filterKeys and filterValues: - Take a unary predicate with the signature bool operator()(const Key& k); - filterEntries: Takes a binary predicate with the signature bool operator()(const Key& k, const T& v); == The predicates can be normal class methods, or provide on-the-fly using a C++ lambda. For example, wordRes goodFields = ...; allFieldNames.filterKeys ( [&goodFields](const word& k){ return goodFields.match(k); } ); Note that all classes that can match a string (eg, regExp, keyType, wordRe, wordRes) or that are derived from a Foam::string (eg, fileName, word) are provided with a corresponding bool operator()(const std::string&) that either performs a regular expression or a literal match. This allows such objects to be used directly as a unary predicate when filtering any string hash keys. Note that HashSet and hashedWordList both have the proper operator() methods that also allow them to be used as a unary predicate. - Similar predicate selection with the following: * tocKeys, tocValues, tocEntries * countKeys, countValues, countEntries except that instead of pruning, there is a simple logic inversion.
-
Mark OLESEN authored
- predicates::always and predicates::never returning true and false, respectively. These simple classes make it easier when writing templated code. As well as unary and binary predicate forms, they also contain a match(std::string) method for compatibility with regex-based classes. STYLE: write bool and direction as primitive 'int' not as 'label'.
-