Commit Graph

5007 Commits

Author SHA1 Message Date
147fa2a75d STYLE: add notes to some (most) command-line options
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
5debfe4cdf ENH: Remove vtk(Cxx|Type)RevisionMacro, vtkTypeRevisionMacro -> vtkTypeMacro
From VTK notes:
- The CVS $Revision$ keyword replacement will no longer maintain these
  macros automatically.  They were used only to implement CollectRevisions
  and vtkObjectBase::PrintRevisions, an API that was never used.
2010-04-26 09:24:03 +02:00
a823b627a6 ENH: handle command-line parameters in bashrc/cshrc
- this provides a means to temporarily override the default settings
  and/or the prefs.{csh,sh} settings.

  bash:
      name=       -> unset name
      name=value  -> export name=value

  csh:
      name=       -> unsetenv name
      name=value  -> setenv name value

  eg,
      . <WM_PROJECT_DIR>/etc/bashrc WM_COMPILER=Gcc45 WM_MPLIB=
  to use gcc 4.5 and the default mplib
2010-04-26 08:49:41 +02:00
9c32ce1016 STYLE: use forAll macro in more places, avoid LF-CR endings 2010-04-23 18:35:55 +02:00
03338b9ea9 STYLE: partial revert for 5cfa97624e 2010-04-23 10:23:08 +02:00
f7f6faa851 Merge remote branch 'OpenCFD/master' into olesenm 2010-04-22 15:53:54 +02:00
b16ef5f0fa ENH: set PINC, PLIBS in the rules (not the env) for system-openmpi
BUG: syntax error in settings.sh
2010-04-22 15:46:54 +02:00
0d44584112 ENH: rationalize wmake rules to avoid unnecessary duplication
- main mplib rules located in GENERAL_RULES with specializations
  (if any) under RULES. Modest change in a few options files, but
  cleans up the rules directories.

  previously in options:
      include $(RULES)/mplib$(WM_MPLIB)

  now in options:
      sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
      sinclude $(RULES)/mplib$(WM_MPLIB)

  For GNU make it would be permissible to write both in a single line.
2010-04-22 15:01:07 +02:00
4d2a297a67 BUG: syntax problems found by gcc-4.5.0
- "cpp -traditional-cpp" doesn't strip C++-style comments
  Probably need a workaround with sed -e 's@^ *//@@' if we
  wish to support C++-style comments in Make/{files,options}

- lduMatrixTests.C:121:1:
  error: ‘Foam::lduMatrix::solverPerformance::solverPerformance’ names
  the constructor, not the type

- edgeFaceCirculatorI.H:355:1:
  error: ‘Foam::edgeFaceCirculator::edgeFaceCirculator’ names the
  constructor, not the type

- patchPointEdgeCirculatorI.H:236:1:
  error: ‘Foam::patchPointEdgeCirculator::patchPointEdgeCirculator’
  names the constructor, not the type

- objToVTK.C:116:5:
  error: ‘Foam::argList::argList’ names the constructor, not the type

  same in surfaceClean.C, surfaceRefineRedGreen.C, surfaceSplitByPatch.C

- fireFoam/createFields.H:74:41:
  error: type/value mismatch at argument 1 in template parameter list
  for ‘template<class T> class Foam::autoPtr’
2010-04-22 09:00:31 +02:00
87f151c47b ENH: add wmake rules for gcc-4.5
ATTENTION: cpp now needs '-traditional-cpp' for single-line output
2010-04-21 16:23:16 +02:00
c7267ed9ad STYLE: remove disabled methods from autoPtr
- (have been disabled for more than 1 year)
2010-04-21 15:36:10 +02:00
526aefad60 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-04-21 12:30:36 +01:00
5f0538ecca ENH: Added active flag to KinematicParcel
- used during parcel calc() function to flag whether the parcel should be tracked
- if false, parcel not tracked, but sub-models are still active
- useful, e.g. for particle 'stick' condition
- NOTE: stored as a bool, but read/written as a label for restarts/post-processing
2010-04-21 12:22:22 +01:00
470b30b58c ENH: avoid possibly non-portable 'find' with '-printf' 2010-04-20 19:14:42 +02:00
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +02:00
47c9fc5056 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-04-19 12:05:40 +01:00
4437361674 thermodynamicProperties: Added comment to explain the "normalisedGas" used. 2010-04-19 12:05:25 +01:00
9707e5c100 ENH: "wmake all" makes 'libso' instead of 'exe' where appropriate
- adds more DWIM (do what I mean) intelligence to wmake

ENH: use ~/.OpenFOAM/.wmake instead of ~/.wmakeScheduler for the lock dir

- keeps more of the OpenFOAM bits together
2010-04-19 10:54:23 +02:00
b19e3cbcf2 Merge branch 'olesenm' 2010-04-16 18:55:27 +01:00
1c7d6c1b2c ENH: Restored old t-junction case. Renamed baffle case to t-junction-with-baffle 2010-04-16 16:51:25 +01:00
2599c9e1c1 ENH: make Switch implementation more opaque to protect against user mistakes 2010-04-16 16:57:14 +02:00
ad1f99ff71 BUG: IOstream::compressionEnum() used Switch::switchType incorrectly
- use enhanced Switch constructor and the new valid() method to
  avoid potential pitfalls of using Switch::switchType directly.
2010-04-16 15:43:28 +02:00
a17daf7fcc ENH: improve robustness and usability of Switch
- add operator=(const switchType) to avoid this type of problem:

      Switch sw;
      sw = Switch::asEnum("foo", true);
      if (sw) ...  // evaluated incorrectly

- add constructor Switch(const switchType) for convenience

- add valid() method to avoid using the switchType directly
2010-04-16 15:22:11 +02:00
af095081b7 ENH: Added baffles and fan cyclic 2010-04-16 13:16:26 +01:00
dfa2c67602 ENH: Allow specification of defaultFaces boundary type 2010-04-16 13:15:12 +01:00
af12964ba1 ENH: add gcc-4.5.0, drop gcc-4.4.2, avoid gcc lib/ on 64-bit systems 2010-04-16 14:00:41 +02:00
5f8f105965 Merge remote branch 'OpenCFD/master' into olesenm 2010-04-16 11:57:12 +02:00
300ac4843c BUG: fieldValue.C was defining duplicate IOField symbols 2010-04-15 18:15:09 +01:00
01aa79be54 ENH: multiple faces between two cells gives problems for scotch
We filter them out now when constructing the adjacency structure.
2010-04-15 15:12:48 +01:00
d4ca02cf7e BUG: using Time::run() as a loop construct was not doing the functionObjects. 2010-04-15 12:22:56 +01:00
21b283779c STYLE: new time structure 2010-04-15 11:59:31 +01:00
5080bd3237 STYLE: convert to new time loop structure 2010-04-15 11:58:33 +01:00
1fe76fef6a BUG: Load library containing the functionObjects before using them. 2010-04-15 11:35:43 +01:00
6d71a38e66 ENH: Allow tensorial K 2010-04-15 11:34:47 +01:00
2de3c0d2cf Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-04-14 16:12:02 +01:00
36e845a7a3 ENH: Allow derivation of constraint types (for pointFields only). Allow usage of
non constraint patchFields on constraint patch types (all fields)
2010-04-14 16:10:31 +01:00
93a0172f03 BUG: incorrect statistics in parallel. Also removed sign of magSf. 2010-04-14 15:47:39 +01:00
c948fadb10 ENH: particleForces. Not caching gradH field, looking up HdotGradH
field directly.

Renaming Ftot to accelTot to remind that the functions return
accelerations.
2010-04-14 13:59:58 +01:00
74b6885674 STYLE: change "it's" to "it is" 2010-04-14 11:39:55 +02:00
55cd7409d8 STYLE: particleForces. Rename variable chi -> magneticSusceptibility. 2010-04-14 09:51:46 +01:00
7b2aa07925 Merge remote branch 'OpenCFD/master' into olesenm 2010-04-14 09:42:47 +02:00
6a48570c20 STYLE: add quotes around html attributes 2010-04-14 09:41:52 +02:00
bbb22dc331 ENH: remove existing doxygen html/ in background 2010-04-14 09:14:49 +02:00
3c06042179 ENH: particleForces. Adding paramagnetic force. Adding d to
calcCoupled/calcNonCoupled arguments and call.
2010-04-13 18:24:54 +01:00
937e0d23d0 STYLE: consistent naming of files containing the 'New' method
before:
    - 'new' prefixed to camel-cased class name: eg, someClass -> newSomeClass
    - 'New' prefixed to templated class name:   eg, TmplClass -> NewTmplClass
    - 'New' suffixed to class name:             eg, someClass -> someClassNew

after:
    - consistent 'New' suffixed to class name, no change of case
          eg, someClass -> someClassNew
          eg, TmplClass -> TmplClassNew
2010-04-13 18:47:47 +02:00
6c3c14ab20 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-04-13 16:50:12 +01:00
4ede1bc104 Merge branch 'tmp' 2010-04-13 16:50:03 +01:00
1cdcfd7291 ENH: new pointPatchField type cyclicSlip. 2010-04-13 16:49:18 +01:00
8d2e5df846 ENH: Allow pointPatchFields derived from constrained pointPatchField types. 2010-04-13 16:46:35 +01:00
42807ddd7e STYLE: fix worst spacing violations for 'os <<' constructions
- accept some violations of the coding guidelines though
- perhaps adding a style exception would be simpler.
2010-04-13 17:45:49 +02:00