- 15 Dec, 2009 1 commit
-
-
Mark Olesen authored
-
- 01 Dec, 2009 3 commits
-
-
- forgot to use readList in removeEntry, which caused the test failure. - remaining problem: it doesn't work as might be expected This is the problem: dict { foo xxx; bar yyy; } dict { baz zzz; #remove foo } This only removes 'foo' from the current scope (the second dict), since it occurs before the dictionary merge does. To remove from the final, merged dictionary, we'd need a new deleteEntry type that would do the right thing on the merge before self-destructing (ie, removing itself too).
-
Mark Olesen authored
- forgot to use readList in removeEntry, which caused the test failure. - remaining problem: it doesn't work as might be expected This is the problem: dict { foo xxx; bar yyy; } dict { baz zzz; #remove foo } This only removes 'foo' from the current scope (the second dict), since it occurs before the dictionary merge does. To remove from the final, merged dictionary, we'd need a new deleteEntry type that would do the right thing on the merge before self-destructing (ie, removing itself too).
-
henry authored
-
- 27 Nov, 2009 1 commit
-
-
Mark Olesen authored
- markup codingStyleGuide.org examples so they actually indent correctly - use 'Info<<' as per codingStyleGuide instead of 'Info <<'
-
- 26 Nov, 2009 1 commit
-
-
Mark Olesen authored
-
- 08 Oct, 2009 1 commit
-
-
Mark Olesen authored
- added subsetStrings and inplaceSubsetString - added class wordReListMatcher to wrap a match() for a UList<wordRe>
-
- 22 Sep, 2009 1 commit
-
-
mattijs authored
-
- 31 Jul, 2009 1 commit
-
-
Mark Olesen authored
-
- 30 Jul, 2009 1 commit
-
-
Mark Olesen authored
- got hit by spacing error and it took too long to pinpoint the problem: #include "XXX" <- okay # include "XXX" <- wrong!
-
- 21 Jul, 2009 1 commit
-
-
Mark Olesen authored
- similar to the #include directive, but does not generate an error if the file does not exist. Note: opted for an explicit naming #includeIfPresent rather than #cinclude
-
- 23 Jun, 2009 1 commit
-
-
henry authored
-
- 08 May, 2009 1 commit
-
-
Mark Olesen authored
- added constructor dictionary(const dictionary*) that also handles NULL pointers and makes it convenient to construct from a possibly nonexistent sub-dictionary: eg, dictionary dict2(dict1.subDictPtr("someDict")); - make some of the turbulence Coeffs sub-dictionary optional. Their contents are all 'lookupOrAddDefault' anyhow. - in turbulentMixingLength BCs, skip namespace qualifier in template (eg, <RASModel> vs. <compressible::RASModel>) - change comments from 'turbulenceProperties' to RASProperties/LESProperties - consistency between compressible/incompressible - no separate file for 'New' selector etc - consistency in accessing the model coefficients. Use method coeffDict() for const access. Use protected data member coeffDict_ for read/write access. - document model coefficients in etc/constant/RASProperties. Need the same for LESProperties before we can prune these from the tutorials.
-
- 05 May, 2009 1 commit
-
-
Mark Olesen authored
- #inputMode error now issues a FatalError on duplicate entries - #inputMode warn issues a warning on duplicate entries, corresponds to the old behaviour of 'error' - #inputMode protect prevents overwriting existing entries The 'protect' mode provides a simple mechanism for supplying default values. eg, in file1: #inputMode protect intensity 0.1; mixingLength 0.005; #inputMode merge inlet { type turbulentIntensityKineticEnergyInlet; intensity $intensity; } which is included from file2: intensity 0.05; #include "file1"
-
- 24 Mar, 2009 1 commit
-
-
Mark Olesen authored
-
- 18 Mar, 2009 1 commit
-
-
Mark Olesen authored
- partial revert for commit d21869b5 * only add extra newlines for a top-level dictionary that is output as such - make "#inputMode merge" the default instead of "#inputMode error" * this corresponds to a very common usage case
-
- 13 Feb, 2009 1 commit
-
-
Andrew Heather authored
-
- 11 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 10 Feb, 2009 1 commit
-
-
Mark Olesen authored
- added class OSHA1stream for a stream-based calculation method - dictionary gets digest() method - dictionaryEntry tweak: avoid trailing space after dictionary keyword
-
- 10 Jan, 2009 1 commit
-
-
Mark Olesen authored
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or 'XX.size() <= 0' or for simpler coding. It also has the same number of characters as '!XX.size()' and /might/ be more readable - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1' when a simple 'XX.size()' suffices
-
- 05 Jan, 2009 1 commit
-
-
Mark Olesen authored
- The capitalization is consistent with most other template classes, but more importantly frees up xfer() for use as method name without needing special treatment to avoid ambiguities. It seems reasonable to have different names for transfer(...) and xfer() methods, since the transfer is occuring in different directions. The xfer() method can thus replace the recently introduced zero-parameter transfer() methods. Other name candidates (eg, yield, release, etc.) were deemed too abstract.
-
- 02 Jan, 2009 1 commit
-
-
Mark Olesen authored
-
- 31 Dec, 2008 1 commit
-
-
Mark Olesen authored
-
- 18 Dec, 2008 1 commit
-
-
Mark Olesen authored
-
- 12 Dec, 2008 1 commit
-
-
Mark Olesen authored
-
- 10 Dec, 2008 3 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- moved findStrings from stringList to new stringListOps (helps reduce the influence on dependencies) - findStrings can also do partial matches
-
- 08 Dec, 2008 1 commit
-
-
Mark Olesen authored
-
- 24 Nov, 2008 1 commit
-
-
mattijs authored
-
- 02 Oct, 2008 2 commits
- 01 Jul, 2008 1 commit
-
-
Mattijs Janssens authored
-
- 25 Jun, 2008 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 20 Jun, 2008 2 commits
-
-
h.weller@opencfd.co.uk authored
-
henry authored
-
- 17 Jun, 2008 1 commit
-
-
Mark Olesen authored
-
- 16 Jun, 2008 1 commit
-
-
Andrew Heather authored
-
- 13 Jun, 2008 1 commit
-
-
Mark Olesen authored
* finally removed #ifdef's with old merge method * use autoPtr::ptr() instead of autoPtr::() to reduce cloning * eliminated a few add() methods that are covered by the templated form * added a 'set()' method that forces overwrite - symmetric with HashTable
-