Mark Olesen
0e9851b432
Merge remote branch 'OpenCFD/master' into olesenm
2010-05-03 09:34:31 +02:00
Mark Olesen
35afeb9b18
STYLE: remove superfluous uses of argList::validArgs.clear()
...
- a holdover from the old <root> <case> days
2010-05-03 08:38:39 +02:00
mattijs
4e0fdc69ea
BUG: createPatch was reading mesh before setting matchTol so could not correct illegal mesh
2010-04-30 11:16:57 +01:00
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
b6f3bd4c23
STYLE: follow coding guide recommendation for '//- Destructor'
2010-04-12 11:55:52 +02:00
Mark Olesen
a50f01b079
STYLE: use forAllIter, forAllConstIter instead of long-hand version
...
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
mattijs
fd7e9c9ae4
ENH: Added option for explicitly providing regions. Restructured code.
2010-04-01 14:20:27 +01:00
mattijs
d947aa9c9e
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-30 21:54:08 +01:00
mattijs
883dbc2e2d
ENH: Add concave cell checking
2010-03-30 21:48:57 +01:00
Mark Olesen
c508b2fe17
STYLE: consistent capitalization of Private/Protected Member Functions in comments
2010-03-30 11:33:42 +02: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
d981028d35
STYLE: Added to header
2010-03-26 13:35:42 +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
09a986a89a
STYLE: Remove unused static variable
2010-03-22 10:32:13 +00:00
mattijs
6680ddcfee
ENH: Reuse existing zones.
2010-03-22 10:31:37 +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
mattijs
9c60eb17d1
ENH: strip off comment lines
2010-03-18 14:38:44 +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
a703cb3b94
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-17 18:13:13 +00:00
mattijs
e0fcca3858
ENH: don't use directMapped on top patch.
2010-03-17 18:12:48 +00:00
andy
08f10e8ea1
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-03-17 15:06:16 +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
andy
45463d2325
ENH: Using more descriptive names for input entries for createPatch utility
2010-03-12 12:44:14 +00:00
mattijs
18eb2d7099
STYLE: Typo in warning message
2010-03-04 13:47:51 +00:00
andy
803556d761
ENH: initialised edge values to avoid compiler warning msg
2010-03-01 17:14:33 +00:00
andy
22ce56db17
Merge branch 'olesenm'
2010-03-01 15:55:30 +00:00
mattijs
27634a044e
STYLE: Add help to command-line arguments
2010-03-01 14:50:41 +00:00
Mark Olesen
f2f2f60cf5
STYLE: remove unused cruft from flex-based lexers
2010-02-25 16:18:34 +01:00
Mark Olesen
f319ddfa61
ENH: begin initial coding for using upcoming vtkPolyhedron
2010-02-24 15:24:32 +01:00
Mark Olesen
91967fb196
COMP: compiling setSet directly (without Allwmake) now works
2010-02-22 13:51:17 +01:00
Mark Olesen
a3fec987a8
CLEANUP: remove most references to (deprecated) .ftr file format
...
- use .obj files for debugging purposes instead.
2010-02-17 13:56:56 +01: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
2f4efd20d7
STYLE: rename starToFoam -> star3ToFoam for the sake of clarity
2010-02-16 18:40:10 +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
3613752115
ENH: add -tri (triangulate) option to foamToSurface, surfaceMeshConvert
...
STYLE: drop surface extraction from foamToStarMesh
- retain surfZone names when writing surfaces
- remove surface extraction/writing from meshWriter since it now
duplicates what the meshedSurface class can do.
2010-02-10 11:49:53 +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