Mark Olesen
72f7d46f23
ENH: add operator[](const word&) as "find-by-name" to some classes
...
- affected: polyBoundary, fvBoundaryMesh, ZoneMesh, searchableSurfaces
before:
const label zoneI = mesh.cellZones().findZoneID(zoneName);
const cellZone& cz = mesh.cellZones()[zoneI];
after:
const cellZone& cz = mesh.cellZones()[zoneName];
2010-04-29 10:12:35 +02:00
Mark Olesen
147fa2a75d
STYLE: add notes to some (most) command-line options
...
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
Mark Olesen
03338b9ea9
STYLE: partial revert for 5cfa97624e
2010-04-23 10:23:08 +02:00
Mark Olesen
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
Mark Olesen
5cfa97624e
STYLE: more consistent New methods, use unregistered IOobject where appropriate
2010-04-20 17:13:35 +02:00
Mark Olesen
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
Mark Olesen
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
mattijs
defea5836e
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H
src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.C
src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.C
2010-04-13 11:07:19 +01:00
Mark Olesen
874120350c
STYLE: use forAllIter, forAllConstIter in more places
...
ENH: change some iterator -> const_iterator access
BUG: found some places with forAllIter and ::iterator !
2010-04-13 09:10:36 +02:00
mattijs
3b53ff5658
ENH: Make snappyHexMeshDict consistent with nGrow change.
...
nGrow in 1.6.x was always taken to be 0!
2010-04-12 17:27:39 +01:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
mattijs
d01adb74e3
ENH: Added tet volume check to checkMesh and snappyHexMesh
2010-03-26 13:39:51 +00:00
mattijs
5d93fbe16d
ENH: Removed parmetis. Use ptscotch instead.
2010-03-22 16:48:48 +00:00
mattijs
9f5c39af53
ENH: have ptscotch
...
ptscotch - compiles into ptscotchDecomp. All thirdparty decompositionMethods
now moved out of decompositionMethods so add them explicitly to link line
for programs that need them (decomposePar, snappyHexMesh etc.)
2010-03-22 15:38:35 +00:00
mattijs
01d6eded39
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-18 14:41:26 +00:00
mattijs
a6af4e272c
ENH: offset calculation for multiple directMapped patches.
2010-03-18 14:39:33 +00:00
andy
dc06f24a0c
ENH: Split src/parallel into decompse and reconstruct to remove cyclic build dependency
2010-03-18 12:23:01 +00:00
mattijs
e0fcca3858
ENH: don't use directMapped on top patch.
2010-03-17 18:12:48 +00:00
mattijs
06d2dc9e4c
ENH: application to extrude a faceZone into a separate region mesh
...
Extrudes either internal faces to inflate a baffle or extrudes boundary
faces to create separate mesh. Inserts directMappedWall between the two
meshes.
2010-03-17 11:17:17 +00:00
Mark Olesen
689d4b2860
ENH: provide operator[] for accessing argList options.
...
- operator[] with label -> get args at index
- operator[] with word -> get named option
2010-02-17 11:43:42 +01:00
Mark Olesen
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
Mark Olesen
ee293cde8e
ENH: add usage information for '-overwrite' option.
...
- make centrally available via #include "addOverwriteOption.H"
2010-02-16 11:44:27 +01:00
Mark Olesen
8426ca1a8c
Merge commit 'OpenCFD/master' into olesenm
2010-02-03 17:40:37 +01:00
mattijs
36346ec1a2
ENH: Do a weighted balance before refinement and layer addition.
...
Have weight=7 on cells to be refined and balance. Then after refinement
there will be perfect balancing. Similar for layer addition.
2010-02-03 06:18:30 +00:00
Mark Olesen
a070321792
ENH: Add usage information for snappyHexMesh -overwrite option.
...
Make debug optional.
- minor wording changes in the messages
2010-02-02 15:39:45 +01:00
mattijs
c9033fc36f
Added optional settings at comment
2010-01-15 17:14:06 +00:00
mattijs
3bfec62cee
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-12-17 15:55:21 +00:00
mattijs
b877323a33
Added baffle option and corrected default setting
...
When faceZones are present one has to decide whether to have zone faces
only on the edge of cellZones or also freestanding.
The setting for minMedialAxisAngle was corrected since the calculation
has also been corrected.
2009-12-15 15:56:35 +00:00
Mark Olesen
dd8f4f657a
adjust usage for a few applications to account for new style
2009-12-09 10:19:53 +01:00
Mark Olesen
5e972c772f
remove trailing space from some files
2009-12-04 13:39:35 +01:00
Mark Olesen
0e33bf0bba
add some usage information to a few utilities
2009-12-04 10:20:15 +01:00
Mark Olesen
6e3ed58ae5
Merge commit 'OpenCFD/master' into olesenm
2009-12-03 16:40:37 +01:00
mattijs
1665a86206
more Icc11.1 changes
2009-12-02 18:32:03 +00:00
Mark Olesen
c091d856ae
pedantic changes: 'forAll (' -> 'forAll(' in applications/
...
- to match coding guidelines
2009-12-03 14:12:08 +01:00
Mark Olesen
58b7e64185
Use argList::addOption, argList::addBoolOption (almost) everywhere
...
- ensure that the standard options (eg, from timeSelector) also have
some usage information
2009-12-03 13:32:12 +01:00
Mark Olesen
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
mattijs
47eb0c5cd2
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake
2009-12-01 16:47:45 +00:00
Mark Olesen
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
mattijs
648e485e7d
adapted angle for medial axis determination
2009-11-26 13:06:56 +00:00
Mark Olesen
d17d015f88
Use new last() method for List-type classes
...
- use first() method in some places as well where it helps clarity
- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
Mark Olesen
2c52705cf7
move reconstructPar 'guts' to src/parallel/reconstruct
...
- in preparation for adding an optional '-reconstruct' to a few utilities
re-use as -lreconstruct library
- move related stuff there too
src/decompositionMethods/decompositionMethods
-> src/parallel/decompositionMethods
- added missing namespace qualifiers
2009-11-20 14:37:56 +01:00
henry
d6a278f2b2
Introduced the new file unitConversion.H to hold degToRad, radToDeg
...
and other unit conversion functions as they are required e.g. slug <-> kg.
2009-10-21 10:55:00 +01:00
Mark Olesen
ffc9d0d97b
find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()
...
- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
It looks suspicious, but the change was recent, so maybe it means something
2009-10-19 13:53:25 +02:00
andy
a8f7488e0f
Merge branch 'olesenm'
2009-10-13 12:39:35 +01:00
henry
e9da288118
Reverted the Americanism "math" back to the original "mathematical" and reverted name of
...
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
Mark Olesen
5e852915f5
Merge commit 'bundle/home' into olesenm
...
Conflicts:
src/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
src/mesh/blockMesh/blockMesh/blockMeshMerge.C
src/postProcessing/functionObjects/field/streamLine/streamLineParticle.H
2009-10-08 12:03:35 +02:00
Mark Olesen
2dcd867f47
blockMesh improvements
...
- expose point field throughout
- make output less verbose, but can switch on/off with verbose() static method
2009-10-05 22:53:22 +02:00
Mark Olesen
ad5d10b817
Merge commit 'OpenCFD/master' into olesenm
2009-09-23 09:14:28 +02:00
mattijs
1bdfa97fc7
adapted extrudeProperties for new extrusion model
2009-09-22 15:25:53 +01:00
Mark Olesen
9dea06e9d8
Merge commit 'OpenCFD/master' into olesenm
2009-09-22 09:33:23 +02:00