- May 12, 2021
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- gcc-4.8.5 does not respect the default parameter, thus specify format explicitly
-
- May 10, 2021
-
-
Mark OLESEN authored
Historically the "geometry" for static meshes was placed under directly in the EnSight case directory. Eg, ensight/ensight.case ensight/geometry ensight/data/000001 ensight/data/000002 ... This generally works ok, but relocating it to a constant data directory Eg ensight/ensight.case ensight/data/constant/geometry ensight/data/000001 ensight/data/000002 ... Improves handling and avoids potential collisions when adding in additional mesh regions
-
Mark OLESEN authored
- reduces code, simplifies creation of new, specialized polyData writers. - new templated vtk::GenericPatchWriter, which adds support for writing both uindirectPrimitivePatch + indirectPrimitivePatch types. - handle geometric fields separately from regular fields with * vtk:GenericPatchGeoFieldsWriter * vtk:indirectPatchGeoFieldsWriter * vtk:uindirectPatchGeoFieldsWriter
-
Mark OLESEN authored
- can be used for block-like meshes that are not aligned with the global coordinate directions. Alternatively, for general testing purposes. Example, method simple; coeffs { n ( 2 2 2 ); transform { origin (-0.15 0.15 0); e1 (1 1 0); e3 (0 0 1); } }
-
Andrew Heather authored
-
- May 07, 2021
-
-
Andrew Heather authored
add multi-region handling for checkMesh etc, centralized the region handling #2072 See merge request !445
-
-
Mark OLESEN authored
Step 1. include "addAllRegionOptions.H" Adds the -allRegions, -regions and -region options to argList. Step 2. include "getAllRegionOptions.H" Processes the options with -allRegions selecting everything from the regionProperties. OR use -regions to specify multiple regions (from regionProperties), and can also contain regular expressions OR use the -region option Specifying a single -regions NAME (not a regular expresssion) is the same as -region NAME and doesn't use regionProperties Creates a `wordList regionNames` Step 3. Do something with the region names. Either directly, or quite commonly with the following include "createNamedMeshes.H" Creates a `PtrList<fvMesh> meshes` STYLE: add description to some central include files
-
Mark OLESEN authored
- useful for establishing and preallocating a max buffer size when reading from sub-procs
-
- May 06, 2021
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Andrew Heather authored
-
- Apr 29, 2021
-
-
Andrew Heather authored
improve flexiblity of IOdictionary construction, use of ITstream, Function1 See merge request !444
-
- Apr 27, 2021
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- make regionName an optional constructor parameter, which eliminates a separate set of constructors and construction tables. Adjust internals to treat a missing/empty regionName as a no-op. - pass in fallback dictionary content via new IOdictionary constructor with a pointer ENH: further relax check for matching number of processor dirs - if the "numberOfSubdomains" entry is missing (or even zero) ignore checks of processor dirs as meaningless.
-
- Apr 26, 2021
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- additional debug information - improve support for dictionary specification of constant, polynomial and table entries. These previously only worked properly for primitiveEntry, which causes confusion. - extend table Function1 to include TableFile functionality. Simplifies switching and modifying content.
-
Mark OLESEN authored
- can construct named empty dictionary directly. - removed some duplicate code
-
Mark OLESEN authored
- failsafe examine elements: peek(), peekFirst(), peekLast() - failsafe traversing: skip() For example, ITstream& is = dict.lookup(key); if (is.peek().isWord()) { is.skip(); }
-
Mark OLESEN authored
- additional default construct - add explicit zero-size constructor for ITstream. For tagged dispatching, without ambiguity - elminate mandatory name for parsing versions. This makes it easier to use ITstream, IStringStream, UListStream interchangeable.
-
Mark OLESEN authored
- return undefinedToken on error STYLE: fix slicing of ITstream from dictionary lookup
-
Mark OLESEN authored
-
Mark OLESEN authored
- some code used copy construct from dictionary::null instead. The result is the same but suggests that something else may be intended. Only need dictionary::null for const-ref usage.
-
Andrew Heather authored
ENH: DMD: refactor dynamic mode decomposition FO See merge request !440
-
-
ENH: DMD: enable operations on patch fields ENH: DMD: enable postProcess utility
-
-
-
- Apr 23, 2021
-
-
Mark OLESEN authored
- allows use of surface names starting with a digit (by quoting the name). User is responsible for not generating bad names for output files. Eg "bad.**.name", since these will be difficult to handle from the shell
-
Mark OLESEN authored
- improves overall consistency and simplifies mpi-specific reuse (ie, ptscotchDecomp)
-
-
Mark OLESEN authored
- largely as per patch from Jong-Gwan (Jason) Do NB: the intel-one setup adds in paths for intelmpi. Its mpicc version does not harmonize with the OpenFOAM system openmpi setup (using mpicc --showme:link). Needs adjustment, or use intelmpi instead. - update name mappings for newer gcc, clang versions
-
- Apr 22, 2021
-
-
sergio authored
Checking for the sum of species mass fraction in multiComponentMixture. It can't be zero at the internal field or patches. A fatal error is thrown. A warning was added if the mixture sum is different from one. In a re-start the mass fraction can be slightly unbounded and new normalization is required.
-
- Apr 19, 2021
-
-
Andrew Heather authored
consistency improvements for regex and hashes, etc See merge request !442
-
- refactor and provision for additional code context
-
- The keyType is primarily used within dictionary reading, whereas wordRe and wordRes are used for selectors in code. Unifying on wordRe and wordRes reduces the number matching options.
-
- additional dummy template parameter to assist with supporting derived classes. Currently just used for string types, but can be extended. - provide hash specialization for various integer types. Removes the need for any forwarding. - change default hasher for HashSet/HashTable from 'string::hash' to `Hash<Key>`. This avoids questionable hashing calls and/or avoids compiler resolution problems. For example, HashSet<label>::hasher and labelHashSet::hasher now both properly map to Hash<label> whereas previously HashSet<label> would have persistently mapped to string::hash, which was incorrect. - standardize internal hashing functors. Functor name is 'hasher', as per STL set/map and the OpenFOAM HashSet/HashTable definitions. Older code had a local templated name, which added unnecessary clutter and the template parameter was always defaulted. For example, Old: `FixedList<label, 3>::Hash<>()` New: `FixedList<label, 3>::hasher()` Unchanged: `labelHashSet::hasher()` Existing `Hash<>` functor namings are still supported, but deprecated. - define hasher and Hash specialization for bitSet and PackedList - add symmetric hasher for 'face'. Starts with lowest vertex value and walks in the direction of the next lowest value. This ensures that the hash code is independent of face orientation and face rotation. NB: - some of keys for multiphase handling (eg, phasePairKey) still use yet another function naming: `hash` and `symmHash`. This will be targeted for alignment in the future.
-