- Jan 03, 2009
-
-
Mark Olesen authored
- Istream and Ostream now retain backslashes when reading/writing strings. The previous implementation simply discarded them, except when used to escape a double-quote or a newline. It is now vitally important to retain them, eg for quoting regular expression meta-characters. The backslash continues to be used as an escape character for double-quote and newline, but otherwise get passed through "as-is" without any other special meaning (ie, they are *NOT* C-style strings). This helps avoid 'backslash hell'! For example, string: "match real dots \.+, question mark \? or any char .*" C-style: "match real dots \\.+, question mark \\? or any char .*" - combined subfiles in db/IOstreams, some had more copyright info than code - OPstreamI.H contained only private methods, moved into OPstream.C Are these really correct? IOstreams/Istream.H:# include "HashTable.C" token/token.H:#define NoHashTableC
-
- Jan 02, 2009
-
-
Mark Olesen authored
- this should provide a slightly more naturally means to using transfer constructors, for example labelList list2(list1.transfer()); vs. labelList list2(xferMove(list1)); - returns a plain list where appropriate (eg, DynamicList, SortableList) for example labelList list2(dynList1.transfer()); vs. labelList list2(xferMoveTo<labelList>(dynList1));
-
Mark Olesen authored
-
Mark Olesen authored
StaticHashTable: - erase(iterator&) now actually alters the iterator and iterator++() handles it properly - clear() also sets count to zero - operator=(const StaticHashTable&) doesn't crash after a previous transfer - operator(), operator==() and operator!=() added HashTable: - operator=(const HashTable&) gets tableSize if required, eg, after a previous transfer) HashSet / Map - add xfer<...> constructor for underlying HashTable
-
- Jan 01, 2009
-
-
Mark Olesen authored
- added boundBox(const tmp<pointField>&) constructor for use with coordinate systems - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
-
- Dec 31, 2008
-
-
Mark Olesen authored
-
Mark Olesen authored
//- Does the surface need an update? virtual bool needsUpdate() const = 0; //- Mark the surface as needing an update. // May also free up unneeded data. // Return false if surface was already marked as expired. virtual bool expire() = 0; //- Update the surface as required. // Do nothing (and return false) if no update was required virtual bool update() = 0; The constructors for the derived classes should generally start in a 'expired' condition (ie, needsUpdate() == true) and rely on a subsequent call to the update() method to complete the initialization. Delaying the final construction as late as possible allows the construction of surfaces that may depend on intermediate calculation results (eg, iso-surfaces) and also avoids the unnecessary reconstruction of surfaces between sampling intervals. It is the responsibility of the caller to ensure that the surface update() is called before the surface is used. The update() method implementation should do nothing when the surface is already up-to-date.
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
- Dec 19, 2008
-
-
Mark Olesen authored
-
Andrew Heather authored
-
-
henry authored
-
Mark Olesen authored
- version is WM_PROJECT_VERSION prefix + SHA1 from current git head - move double quotes from make rules to global.Cver for extra safety
-
Mark Olesen authored
- added wmakePrintBuild -check, -update, -version options - only update .build cache when explictly requested and from within the wmake Cver rules - use -check option to avoid unnecessary remake in src/Allwmake
-
-
Mark Olesen authored
- the $WM_PROJECT_DIR/.build file is automatically updated. This file is (and must be) ignored by git.
-
Mark Olesen authored
- This was originally plan 'B', but it is actually probably more efficient than using PtrDictionary anyhow. - straightened out the return value logic, but it wasn't being used anywhere anyhow. - new 'updated_' data member avoids inadvertent execution in the read() method when execution is turned off.
-
- Dec 18, 2008
-
-
Mark Olesen authored
-
Mark Olesen authored
Conflicts: src/Allwmake src/OpenFOAM/global/global.C wmake/rules/General/version Retained solution with global.Cver
-
Mark Olesen authored
- move url to lower right: makes version information stand out better
-
Mark Olesen authored
-
Mark Olesen authored
-
-
henry authored
New fuels are iso/n-propanol and urea. Although urea is a bit dodgy, but that's all of the properties Ive found so far. I've also added a variation of temperature instead of constant temperature for some injector-classes so Im sending you the new version of the dieselFoam tutorial also.
-
Mark Olesen authored
- PtrDictionary and remove(const word&) does not seem to work
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
- Dec 17, 2008
-
-
mattijs authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- can return NULL pointer instead of FatalError for non-existent entries
-
Mark Olesen authored
-
- Dec 16, 2008