126125c185
Rationalized the keyword to specify a file name in a dictionary to 'file'
...
e.g. in tutorials/heatTransfer/buoyantSimpleFoam/externalCoupledCavity/0/T
hot
{
type externalCoupledTemperature;
commsDir "${FOAM_CASE}/comms";
file "data";
initByExternal yes;
log true;
value uniform 307.75; // 34.6 degC
}
Previously both 'file' and 'fileName' were used inconsistently in different
classes and given that there is no confusion or ambiguity introduced by using
the simpler 'file' rather than 'fileName' this change simplifies the use and
maintenance of OpenFOAM.
2017-01-07 09:38:54 +00:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce .
2011-01-05 18:24:29 +00:00
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
499d48cfdb
STYLE: uniform 'Test-' prefix for all applications/test
...
- easier to clean, avoid confusion with 'real' applications, etc.
2010-11-23 16:26:04 +01:00
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
d857d671ac
STYLE: use new argList argRead() method and operator[] for cleaner code.
...
- deprecate argList::additionalArgs() method and remove uses of it
2010-02-16 17:57:49 +01:00
1b0cf102cc
testing on fileName Istream construction
2009-12-04 16:22:59 +01:00
c3457b5152
argList - specializations for optionRead<string> etc.
...
- new optionLookupOrDefault and additional form of optionReadIfPresent
with a default value
2009-12-02 13:45:11 +01:00
fa93ce8cd7
coding style adherence
...
- markup codingStyleGuide.org examples so they actually indent correctly
- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
35986a3972
implement fileName::clean() method
...
* remove repeated slashes
/abc////def --> /abc/def
* remove '/./'
/abc/def/./ghi/. --> /abc/def/./ghi
abc/def/./ --> abc/def
* remove '/../'
/abc/def/../ghi/jkl/nmo/.. --> /abc/ghi/jkl
abc/../def/ghi/../jkl --> abc/../def/jkl
* remove trailing '/'
2009-07-25 20:40:52 +02:00
f8d87e2ab4
first implementation of filename clean method
...
- test as independent application first
2009-07-25 20:32:29 +02:00