Commit Graph

303 Commits

Author SHA1 Message Date
Mark Olesen
97da787c69 ENH: add fileName::name(bool) for returning basename without extension 2011-03-03 13:48:04 +01:00
Mark Olesen
3b72fc3e38 ENH: support default values in string expansion
- syntax as per Bourne/Korn shell
      ${parameter:-defValue}

  If parameter is unset or null, the \c defValue is substituted.
  Otherwise, the value of parameter is substituted.
2011-03-02 14:11:30 +01:00
Mark Olesen
01ea4623f9 BUG: string expand bombed out on first unknown construct
- eg,
       "$USER $(PWD) $USER"  ->  "username $(PWD) $USER"
  instead of
       "$USER $(PWD) $USER"  ->  "username $(PWD) username"

  this is noticable in some dynamicCode usages

STYLE: consolidate all string expand code into stringOps
2011-03-02 13:46:15 +01:00
Mark Olesen
4aafea74a9 COMP: removed calcEntry bits missed in b4dae1a5ab 2011-02-24 11:35:24 +01:00
Mark Olesen
67fc6a171a ENH: use stringOps::expandDict when processing codeStream input 2011-02-23 14:22:14 +01:00
Mark Olesen
31f6d9ba5e ENH: add stringOps::expandDict 2011-02-23 13:38:57 +01:00
Mark Olesen
71d21f6de4 ENH: implement stringOps - trim, trimRight, inplaceTrim, inplaceTrimRight 2011-02-23 10:13:10 +01:00
Mark Olesen
4aa279d7bc ENH: use HashTable for mapping codeStream entries
- write intermediate code to _SHA1 directories
- add Test-codeStream
2011-02-22 12:34:20 +01:00
Mark Olesen
808ff1aa32 Merge remote branch 'OpenCFD/master' into olesenm 2011-02-15 16:55:05 +01:00
Mark Olesen
1e4d26429b Merge remote branch 'OpenCFD/master' into olesenm 2011-02-14 09:47:49 +01:00
mattijs
790146fbdb ENH: Test-syncTools.C : cannot use magSqr with point::max 2011-02-11 12:26:01 +00:00
mattijs
f5b7477722 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-02-09 14:10:19 +00:00
Henry
c3cb632c24 Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs 2011-02-08 18:22:00 +00:00
mattijs
2adfd534db ENH: globalMeshData, mapDistribute : added pointBoundaryFaces/pointBoundaryCells 2011-02-08 16:16:50 +00:00
Mark Olesen
0f990cb447 Merge remote branch 'OpenCFD/master' into olesenm 2011-02-07 16:56:31 +01:00
Mark Olesen
ffd20770dd ENH: add (non-templated) polynomialFunction
STYLE: integrateLimits() -> integrate() for consistency with
  DataEntry/polynomial.  Rename old 'integrate', 'integrateMinus1'
  methods to 'integral', 'integralMinus1' (ie, substantive instead of
  verb for clarity).
2011-02-04 18:59:45 +01:00
mattijs
a6e8df4aa2 ENH: Test-syncTools : remove warning about transformations 2011-02-03 22:20:32 +00:00
andy
4634aa3ad0 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-02-01 16:00:44 +00:00
andy
9da43d1558 STYLE: consistency - moved radiation->radiation models 2011-02-01 16:00:27 +00:00
Mark Olesen
08680b8b35 STYLE: rename Polynomial method evaluate() to value() for consistency with DataEntry
STYLE: move DataEntry to OpenFOAM/primitives/functions
2011-01-28 16:32:08 +01:00
Mark Olesen
c891e7065a Merge remote branch 'OpenCFD/master' into olesenm 2011-01-26 16:45:22 +01:00
mattijs
fe987dad11 ENH: Test-globalMeshData.C : updated to include transforms 2011-01-20 15:31:43 +00:00
mattijs
f91d99c8df STYLE: Test-Distribute : renamed for consistency 2011-01-20 15:31:09 +00:00
Mark Olesen
129695a950 STYLE: adjust executable names for some tests 2011-01-19 14:29:56 +01:00
mattijs
fc1e443116 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-01-19 12:37:20 +00:00
graham
38f347e4e2 STYLE: Date and executable name. 2011-01-19 11:07:17 +00:00
graham
95a8490b83 ENH: Import (probability) Distribution class and test app from cvm. 2011-01-19 10:23:48 +00:00
mattijs
a6de8e746a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/test/lduMatrix/Test-lduMatrix.C
	applications/test/lduMatrix/Test-lduMatrix2.C
	applications/test/lduMatrix/Test-lduMatrix3.C
	applications/test/parallel/Test-parallel.C
	applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H
	bin/mpirunDebug
	etc/apps/paraview3/cshrc
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.C
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C
	src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
	src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/primitives/Pair/labelPair.H
	src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
	src/postProcessing/functionObjects/field/streamLine/streamLineParticle.C
2011-01-17 21:40:13 +00:00
Mark Olesen
e95e9700c8 Merge remote branch 'OpenCFD/master' into olesenm 2011-01-17 10:21:58 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
mattijs
7a01f5c12c ENH: mapDistribute : added transforms 2011-01-07 17:01:17 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
5d18583101 ENH: collect arch-specific directly under platforms/
- platforms/WM_OPTIONS/lib
      old: lib/WM_OPTIONS

- platforms/WM_OPTIONS/bin
      old: bin/WM_OPTIONS
      old: applications/bin/WM_OPTIONS

A runtime environment nows needs
    - bin/
    - etc/
    - platforms/
2011-01-05 08:49:42 +01:00
Mark Olesen
881b3dafa2 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C
	applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/createShellMesh.C
	applications/utilities/surface/surfaceCheck/surfaceCheck.C
	src/finiteVolume/fields/fvPatchFields/derived/advective/advectiveFvPatchField.C
	src/finiteVolume/fields/fvPatchFields/derived/waveTransmissive/waveTransmissiveFvPatchField.C
	src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C

NOTE: also needed to strip trailing space/lines in various files
2010-12-21 10:19:53 +01:00
Mark Olesen
43ec00e50c COMP: avoid ambiguous construct from tmp - test/ utils/
- missed these on the first sweep
2010-12-21 09:46:55 +01:00
graham
aa15f4479c ENH: Transferring momentOfInertia calc from utils to meshTools lib.
Adding mesh cell inertia calc.
2010-12-15 17:46:15 +00:00
Mark Olesen
3aa49fef5e ENH: first version of labelRange, labelRanges
- an opaque means of handling ranges of labels
2010-12-13 11:51:49 +01:00
Mark Olesen
a00ec1562a Merge remote branch 'OpenCFD/master' into olesenm 2010-12-07 15:20:19 +01:00
Mark Olesen
f367ee2ece ENH: add 'flip()' in-place method to edge, face, triFace 2010-12-07 08:58:31 +01:00
mattijs
731f523188 ENH: mapDistribute : cleanup 2010-12-06 15:54:45 +00:00
Mark Olesen
7b5de8021f Merge remote branch 'OpenCFD/master' into olesenm 2010-11-25 11:24:10 +01:00
mattijs
1aea998bbe ENH: FaceCellWave : additional trackData like argument for passing in non-cell data 2010-11-24 11:48:04 +00:00
Mark Olesen
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
Mark Olesen
e5cf4f093e COMP: adjust syncTools test to compile 2010-11-23 16:08:47 +01:00
Mark Olesen
2ab6d349d6 STYLE: reset parameters in memInfo::update()
- avoids old values if the read from /proc/.../status somehow failed
2010-11-22 16:12:20 +01:00
graham
9f1d94bddd ENH: memInfo class. 2010-11-18 16:45:49 +00:00
graham
ff473b9833 ENH: cmptProduct function, i.e. cmptProduct(vector(a, b, c)) = a*b*c. 2010-11-04 16:47:42 +00:00