Commit Graph

466 Commits

Author SHA1 Message Date
mattijs
b2edaba7a1 ENH: surfaceMeshConvert: dict option handling 2012-12-05 15:04:35 +00:00
mattijs
e03612c106 ENH: surfaceFeatureExtract: handle baffles 2012-10-26 14:33:27 +01:00
mattijs
674990765a ENH: surfaceFeatureExtract: new syntax for non-manifold edges 2012-10-11 11:04:24 +01:00
mattijs
3c183eba6c ENH: polyPatch: adding constraint patches to group 2012-09-05 16:40:59 +01:00
mattijs
dfa8cf417a BUG: setFields: timeSelector overrides controlDict setting
(more general: timeSelector should only be used for postprocessing utils)
2012-07-26 16:55:25 +01:00
mattijs
a2e42ddd89 STYLE: surfaceCoarsen: remove rabdata 2012-06-06 12:35:48 +01:00
mattijs
6a380a683a STYLE: surfaceFeatureExtract: indenting, scoping 2012-05-31 14:00:27 +01:00
mattijs
645ff9b845 ENH: surfaceFeatureExtractDict: add comment 2012-05-31 13:59:47 +01:00
mattijs
9e26e68b7d ENH: surfaceMeshTriangulate: surface is fileName, not word 2012-05-31 13:58:45 +01:00
mattijs
d51122fa10 COMP: surfaceMeshTriangulate: use surfMesh instead of triSurface 2012-05-30 12:02:09 +01:00
mattijs
7969bc87d1 ENH: surfaceFeatureExtract: allow flipping. Code cleanup. 2012-05-30 11:47:31 +01:00
mattijs
b06e2e6589 ENH: surfaceMeshTriangulate: generalise for MeshedSurface instead of triSurface. Add patchSet. Add topological point merging 2012-05-30 11:42:37 +01:00
mattijs
217405865a ENH: surfaceFeatureExtract: adding of extendedFeatureEdgeMeshes 2012-05-29 10:38:50 +01:00
mattijs
687232488f Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-05-01 17:29:14 +01:00
mattijs
50d1d00fae BUG: surfaceSplitByTopology: #485 2012-05-01 17:24:09 +01:00
mattijs
b35ae36e7b ENH: surfaceBooleanFeatures: write eMesh edgeMesh as well 2012-05-01 17:13:29 +01:00
andy
6b62ee94e4 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-05-01 10:26:32 +01:00
andy
fbb477070a ENH: Corrected ambiguous construction from tmp msgs (llvm/clang) 2012-05-01 10:25:50 +01:00
laurence
6a3571b3e9 COMP: Move boost and mpfr library includes from wmake/rules/general/CGAL
This is so that surfaceFeatureExtract will compile without boost/mpfr
2012-04-26 15:10:24 +01:00
laurence
76f0eb0253 ENH: Update the surfaceFeatureExtract default dictionary 2012-04-19 12:55:44 +01:00
Henry
5682987dc7 Updated headers 2012-04-17 16:49:03 +01:00
Henry
cd51a5eea3 Consistency: Changed exponent FORTRAN style 'E' to C style 'e' 2012-04-17 16:48:27 +01:00
mattijs
bdfbea228c STYLE: snappyHexMeshDict, surfaceMeshTriangulate: corrected comment 2012-04-10 12:33:45 +01:00
laurence
50367fc3ae BUG: surfaceFeatureExtract: Create extendedFeatureEdgeMesh directory if not present 2012-04-05 16:32:01 +01:00
laurence
e161131dc4 ENH: surfaceFeatureExtract: Always write a featureEdgeMesh 2012-04-03 11:39:47 +01:00
mattijs
69569cc45e STYLE: surfaceFeatureExtract: get info from Coeffs dictionary. Added comment 2012-04-03 10:36:23 +01:00
mattijs
5beb857d8e BUG: surfaceBooleanFeatures: extraneous command-line clearing 2012-04-02 10:50:40 +01:00
laurence
b16dc1e4a5 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-03-30 08:54:05 +01:00
laurence
3c6c675081 STYLE: Remove trailing whitespace 2012-03-30 08:53:47 +01:00
mattijs
7c66d8a2a0 STYLE: surfaceFeautreExtract: indentation and comment 2012-03-29 18:07:24 +01:00
laurence
c0524a8eeb STYLE: Correct formatting 2012-03-19 11:29:03 +00:00
laurence
3dcfc986d6 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2012-03-27 12:41:27 +01:00
mattijs
716374286d BUG: createBaffles: duplicate command line option specification 2012-03-26 12:13:31 +01:00
laurence
73ec082aa7 ENH: surfaceFeatureExtract: Use a dictionary instead of command line options 2012-03-20 17:46:34 +00:00
laurence
c6a2710bbe COMP: surfaceFeatureExtract: Clean up build 2012-03-20 17:46:04 +00:00
laurence
dbc7526abb ENH: surfaceFeatureExtract now builds with CGAL support for curvature
extendedFeatureEdgeMesh: Add function to find all feature points within a sphere
treeDataPoint: Add support for point overlap test
2012-03-16 11:21:43 +00:00
mattijs
2b320a5488 BUG: surfaceCheck: handle .gz additional extension (e.g. motorBike.obj.gz) 2012-01-05 10:07:04 +00:00
laurence
ed1fd3d46a Merge branch 'cv2d' 2011-12-09 10:47:54 +00:00
mattijs
51b6dcd4a3 COMP: 64bit label changes 2011-11-28 12:56:34 +00:00
laurence
075e47ea5a ENH: Merge cvMesh functionality into cv2DMesh
- Added conformationSurface and searchableSurface classes in place
  of querySurface.
- Added cellSizeControl class.
- Change cvMesh argument of relaxation model constructor to Time.
- Add writePrecision option to surfaceConvert.
- Add onLine function to surfaceFeatureExtract.
- Remove querySurface.
- Move createShellMesh and extrude2DMesh to their own libraries.
- Replace controls and tolerances with a cv2DControls object.
- Add patchToPoly2DMesh class to extrude2DMesh.
2011-11-18 09:53:46 +00:00
laurence
b69f513f20 ENH: surfaceFeatureExtract: Provide -plane argument for creating 2D edge meshes 2011-11-17 15:39:59 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Henry
5f9e3a04f0 cvMesh: Relocated the conformalVoronoiMesh library and localised all uses of CGAL
Removed unused dependencies on CGAL
2011-07-22 14:12:08 +01:00
mattijs
ea570ad2cc ENH: surfaceFeatureExtract: disabled curvature calculation (only CGAL dependency) 2011-07-22 10:14:11 +01:00
mattijs
2ea1ff1923 STYLE: date 2011-07-21 14:45:30 +01:00
mattijs
23b828f22f Merge branch 'cvm' of /home/noisy3/OpenFOAM/OpenFOAM-dev into cvm 2011-07-06 15:28:25 +01:00
graham
292bf5cbca ENH: Switch on and off curvature and closeness testing. 2011-07-06 13:43:07 +01:00
mattijs
80db456b5f BUG: surfaceFeatureExtract: option not in argList 2011-07-01 15:11:42 +01:00
mattijs
77d1e2231d ENH: surfaceFeatureExtract: optionally filter out non-manifold edges 2011-06-24 16:24:58 +01:00
mattijs
54d55295f0 ENH: surfaceOrient: orient using intersections 2011-06-23 12:23:13 +01:00
mattijs
b831dfd761 surfaceClean: have minimum quality 2011-06-20 12:06:32 +01:00
mattijs
74d06462ff ENH: surfaceClean: have minimum quality 2011-06-20 11:43:27 +01:00
mattijs
57561886bd COMP: buildCGALPolyhedron.C: using typename outside of template 2011-06-20 11:42:33 +01:00
graham
caea0aec03 Merge branch 'master' into cvm 2011-06-17 10:57:23 +01:00
OpenFOAM-admin
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
mattijs
4f47ff0219 STYLE: dictionaries: update version number 2011-06-10 17:22:56 +01:00
graham
e1ead74461 Merge branch 'master' into cvm 2011-06-08 17:28:03 +01:00
mattijs
7902377c02 ENH: treeDataTrisurface: expose tolerance 2011-06-02 12:14:53 +01:00
graham
74b4639b4f COMP: meshTools.H 2011-05-13 10:39:19 +01:00
graham
c0537248fb Merge branch 'master' into cvm 2011-05-13 10:17:22 +01:00
graham
dac5beb53a BUG/STYLE: vector type fails to compile. Using extendedFeatureEdgeMesh naming. 2011-05-03 16:33:11 +01:00
Mark Olesen
8687d00c2d Merge remote branch 'opencfd/master' into olesenm 2011-04-12 12:54:35 +02:00
Mark Olesen
03bae68436 STYLE: drop face::area() and triFace::area() - less useful than expected 2011-04-12 12:53:51 +02:00
graham
fe0f6a487a Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2011-04-07 14:17:08 +01:00
graham
d5d88fdba2 STYLE: Writing surface feature set out the root of the case. 2011-04-07 11:27:00 +01:00
Mark Olesen
9153534a9d ENH: use face::area() method for surfaceMeshInfo 2011-04-07 09:29:05 +02:00
mattijs
acd7554ae0 STYLE: dictionaries in $FOAM_UTILITIES: header 2011-04-06 19:15:15 +01:00
Mark Olesen
4bc4c1900b ENH: new utility surfaceMeshInfo
- useful at the moment for reporting face areas from a surface mesh
2011-04-05 20:05:57 +02:00
mattijs
5cf0612207 ENH: surfaceFeatureExtact: optionally write obj files 2011-04-05 12:11:08 +01:00
graham
1bad1265f7 Merge branch 'master' into cvm 2011-03-31 11:58:44 +01:00
mattijs
4fa972e4be ENH: surfaceClean: do a triangle cleanup unless suppressed 2011-03-29 12:27:25 +01:00
graham
83f0613ee5 BUG: Fix for constructor use. 2011-03-28 11:57:44 +01:00
graham
903e2257c7 STYLE: date. 2011-03-10 13:55:20 +00:00
graham
1fac7b662e Merge branch 'master' into cvm
Conflicts:
	src/mesh/Allwmake
2011-03-10 13:54:43 +00:00
graham
5c8340ae13 ENH: Write surface area of surface.
Removed test objs.
2011-03-10 11:50:26 +00:00
graham
a3b1263184 ENH: Using enhancedFeatureEdgeMesh. 2011-02-18 16:17:49 +00:00
graham
de64877baa Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
	src/edgeMesh/Make/files
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.H
2011-02-17 11:20:03 +00:00
graham
0090ec6526 Merge branch 'master' into cvm 2011-02-14 15:39:40 +00:00
mattijs
85190a16b6 ENH: featureEdgeMesh : moved new stuff to extendedFeatureEdgeMesh 2011-02-11 12:32:11 +00:00
Henry
c3cb632c24 Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs 2011-02-08 18:22:00 +00:00
graham
3c0f5f5a57 Revert "ENH: Roll back surfaceFeatureExtract to send to Audi/VW."
This reverts commit 9b2862f153.
2011-02-03 16:01:13 +00:00
graham
9b2862f153 ENH: Roll back surfaceFeatureExtract to send to Audi/VW. 2011-02-03 12:05:38 +00:00
graham
d4731f9cab ENH: Use non-templated vtwWriters. Remove FatalErrors on intersection failure. 2011-02-03 11:40:28 +00:00
graham
a2f7b0d958 ENH: surfaceFeatures trim walking - never walk over feature points. 2011-01-28 17:23:00 +00:00
graham
6c489421fb ENH: Reinstate surfaceFeatureExtract developments. 2011-01-28 11:29:49 +00:00
graham
f7367d328a This commit plus a subsequent merge of master is the code that is to be sent to Audi and VW, Jan/Feb 2011.
Represents a working snapshot of the polyhedral mesher for evaluation.

Rolling back surfaceFeatureExtract to remove latest developments and reduce the
file output.
2011-01-28 11:18:52 +00:00
graham
12ecd5e952 ENH: Choosing closeness hits only within a given angle. 2011-01-27 17:33:06 +00:00
graham
b328499d02 ENH: Various improvements.
+ No fatal error on triSurfaceTools::surfaceSide, commented out WarningIn.

  + Make cellSizeControlSurfaces look for a GREAT span for the nearest surface
    point.

  + Identify and limit filtering on single internal face cells in polyMesh
    quality assessment.

  + Create cellSet of remaining protruding cells after polyMesh creation.

  + Implemented wellOutside function by generalising wellInside to
    wellInOutSide.
2011-01-24 13:19:44 +00:00
graham
5cd9ccf88b ENH: Returning feature edge enumeration from trimFeatures and writing out. 2011-01-21 18:38:23 +00:00
graham
19b846354b ENH: Remove feature edges from curvature field. 2011-01-21 16:48:13 +00:00
graham
52bc7df7d7 Merge branch 'master' into cvm 2011-01-21 14:05:20 +00:00
graham
738d022c56 ENH: Extract curvature and internal and external closeness fields. 2011-01-21 14:02:03 +00:00
mattijs
0c6789e539 STYLE: removed globalMeshData::bb(). Use mesh.bounds() instead 2011-01-20 13:46:02 +00:00
graham
1c646e2143 ENH: Using triangle quality without checking - check is now in triangle class. 2011-01-19 19:39:27 +00:00
graham
b1c7bcee4e Merge branch 'master' into cvm
Conflicts:
	applications/test/Distribution/DistributionTest.C
	applications/test/Distribution/Make/options
	src/OpenFOAM/containers/Lists/Distribution/Distribution.C
	src/OpenFOAM/containers/Lists/Distribution/Distribution.H
	src/OpenFOAM/containers/Lists/Distribution/DistributionI.H
2011-01-19 10:32:36 +00:00
graham
89619c5015 Revert "ENH: Copyright dates to allow a push."
This reverts commit c5bea5242b.
2011-01-19 10:26:24 +00:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
graham
c5bea5242b ENH: Copyright dates to allow a push. 2011-01-07 15:09:52 +00:00
graham
2135f644d1 Merge branch 'master' into cvm 2011-01-07 14:50:43 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
8c04b4e692 Merge branch 'master' into cvm
Conflicts:
	src/OpenFOAM/meshes/boundBox/boundBox.H
2011-01-05 11:53:37 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
andy
7a6cfda2f8 Merge branch 'olesenm' 2011-01-04 10:52:41 +00:00
graham
00e49c1325 ENH: No need for output filename, better (uniform) scale on normals obj. 2010-12-21 17:58:33 +00:00
graham
8daee8c985 Merge branch 'master' into cvm 2010-12-21 15:20:56 +00:00
graham
dbbacfbefd ENH: Don't write badFaces when there are none. 2010-12-21 15:20:00 +00: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
664940fa3a ENH: surfaceBoooleanFeatures utility. 2010-12-20 11:42:13 +00:00
graham
dfa58157b2 ENH: Ability to read in surface-independent features.
Sensible featureEdgeMesh constructor.  Rearrangement of functions.
2010-12-20 11:27:22 +00: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
graham
1f20976f2a ENH: Transferring momentOfInertia calc from utils to meshTools lib.
Adding mesh cell inertia calc.
2010-12-15 17:46:15 +00:00
graham
63e24812c2 ENH: Renaming "corners" in boundBox to "points". Overridden in treeBoundBox.
Keeping both functions to ensure that the octant ordering specified in
treeBoundBox is obeyed at the octree level, irrespective of the implementation
of the basic boundBox.
2010-12-13 14:39:55 +00:00
graham
2d7f45738a ENH: Renaming "corners" in boundBox to "points". Overridden in treeBoundBox.
Keeping both functions to ensure that the octant ordering specified in
treeBoundBox is obeyed at the octree level, irrespective of the implementation
of the basic boundBox.
2010-12-10 20:34:31 +00:00
graham
f7c3a8e42c BUG: Passing by copy. 2010-12-10 11:07:59 +00:00
graham
71271df642 BUG: Passing by copy. 2010-12-10 11:07:59 +00:00
Mark Olesen
0d662c74c6 STYLE: use triSurface::FaceType where triangle or region information
not required
2010-11-26 20:39:46 +01:00
graham
7e0ec4516d Merge branch 'master' into cvm
Conflicts:
	src/edgeMesh/Make/options
2010-11-23 15:48:04 +00:00
mattijs
84fa233c00 ENH: featureEdgeMesh : merged dev_cvm functionality. 2010-11-22 10:48:07 +00:00
graham
7915638634 BUG: volume not applicable in shellProperties, remove. 2010-09-23 18:46:19 +01:00
graham
30eab62ecf ENH: Remove test surfaces. Write volume to screen. 2010-09-23 17:20:00 +01:00
graham
f39d084874 Merge branch 'master' into cvm 2010-09-17 17:20:19 +01:00
graham
ebb9a9e1ac ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
graham
cc631ad6cd Merge branch 'master' into cvm 2010-09-16 15:13:45 +01:00
mattijs
dac1c335ca BUG: surfaceRedistributePar : added -ldistributed to linkage 2010-08-26 17:40:09 +01:00
mattijs
69526c6c1c BUG: various reinterpret_cast to enable strict-aliasing 2010-08-19 15:44:17 +01:00
graham
aa96f77e96 Merge branch 'master' into cvm 2010-07-29 12:55:19 +01:00
graham
28345247a7 STYLE: Fixing code style requirements for more files - those not
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
graham
ed181368e5 Merge branch 'master' into cvm
Conflicts:
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.H
2010-07-28 15:08:45 +01:00
andy
3839768ac8 Merge branch 'olesenm' 2010-07-27 16:44:02 +01:00
graham
0e935f41b0 Merge branch 'master' into cvm 2010-07-27 15:48:23 +01:00
graham
012494fdb5 STYLE: Fixing code style requirements for all apps.
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
Mark Olesen
12837a67d5 ENH: add ZoneMesh::findIndices() method
STYLE: use findIndices instead of findAll for coordinateSystems
2010-07-26 13:18:59 +02:00
graham
1412553d06 Merge branch 'master' into cvm
Conflicts:
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.C
2010-07-23 13:41:31 +01:00
graham
438b76bf61 STYLE: More descriptive warning. 2010-07-06 16:38:58 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
graham
7af7032861 Merge branch 'master' into cvm 2010-05-20 19:13:13 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
Mark Olesen
f9f988d82f Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
2010-05-31 11:50:56 +02:00
Mark Olesen
ff30e6b61a STYLE: can use bool instead of Switch version of dictionary::lookupOrDefault
- both versions handle the same input words.
  Only need the <Switch> version when the destination variable is
  also a Switch and we need to output the word later.
2010-05-20 14:17:18 +02:00
Mark Olesen
bde8dc579a STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
graham
3d43439072 ENH: Better output formatting, directly outputting
sixDoFRigidBodyDisplacement BC entries.
2010-05-13 16:00:42 +01:00
graham
f106f89f1f Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2010-05-11 13:00:25 +01: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
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
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
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
graham
cddce779e8 STYLE: Change to GPL v3 and update copyright date. 2010-04-13 11:38:22 +01:00
graham
5c33936264 Merge branch 'master' into cvm 2010-04-13 11:31:32 +01: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
graham
240c714aab Merge branch 'master' into cvm
Conflicts:
	etc/settings.csh
	etc/settings.sh
	wmake/rules/General/CGAL
2010-04-09 10:13:42 +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
graham
6f6d5dd39e ENH/BUG: featureEdgeMesh/conformalVoronoiMesh.
No longer reading or writing edgeDirections - calculating them on
read.

Properly initialising data in featureEdgeMesh constructor.

Fixing use of extend for treeBoundBox.

Removing writeObj from featureEdgeMesh constructor - calling
explicitly from surfaceFeatureExtract.
2010-02-23 11:25:14 +00:00
graham
e09a140a28 Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2010-02-22 13:59:07 +00: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
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
graham
c91ffbdbe8 Merge branch 'master' into cvm
Conflicts:
	src/OpenFOAM/meshes/primitiveShapes/plane/plane.C
	src/edgeMesh/Make/options
2010-02-10 15:00:34 +00: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
2f0692e002 Merge commit 'OpenCFD/master' into olesenm 2010-02-08 15:01:48 +01:00
graham
b98a01b28c ENH: surfaceInertia. Adding the calculation of the Q tensor, required
for six DoF motion bodies that are not principal axis aligned shapes
to start with.

Calculates the best match axes to give the most naturl transformation
from the Cartesian axes. The eigenvectors are returned in the order
relating to ascending magnitude of their eigenvalues - not necessarily
in a right handed triplet.
2010-02-04 19:51:31 +00:00
graham
1a9e6bcfad Revert "Removing large test .obj files from surfaceInertia utility directory."
This reverts commit edfba8be92.
2010-02-03 18:36:30 +00:00
Mark Olesen
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
graham
9f23282e0d STYLE: surfaceInertia. Adding space to option description. 2010-02-02 19:12:58 +00:00
Mark Olesen
ba69655de3 Merge commit 'OpenCFD/master' into olesenm 2010-01-26 09:06:52 +01:00
graham
edfba8be92 Removing large test .obj files from surfaceInertia utility directory. 2010-01-25 18:42:24 +00:00
graham
a67845421c Merge branch 'master' into cvm 2010-01-20 12:33:10 +00:00
Mark Olesen
a694f6e374 Replace a few uses of triSurface with the more general meshedSurface. 2010-01-15 17:27:03 +01:00
Mark Olesen
0d49e4711c Begin code refactoring of third-party file formats. 2010-01-15 14:35:50 +01:00
andy
25bf6b6ce8 Minor code style corrections 2009-12-22 10:06:37 +00:00
graham
ff671ff1bb Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureConvert/surfaceFeatureConvert.C
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
	src/Allwmake
	src/edgeMesh/Make/files
	src/edgeMesh/edgeMesh.C
	src/edgeMesh/edgeMesh.H
	src/edgeMesh/edgeMeshI.H
	src/edgeMesh/edgeMeshIO.C
	src/edgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh.H
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.H
	src/meshTools/searchableSurface/closedTriSurfaceMesh.C
	src/meshTools/searchableSurface/closedTriSurfaceMesh.H

Merged Mark's work on edgeMesh with my featureEdgeMesh.
2009-12-21 15:52:03 +00:00
graham
aa847562ce Reimplementing the uniform density solid inertia calculation from:
http://www.geometrictools.com/LibPhysics/RigidBody/RigidBody.html

in surfaceInertia utility.  Allows calculation of shell or solid
properties of a triSurface, with optionally specified volumetric or
surface density.  Default behaviour is to calculate inertia around
centre of mass, with option to specify reference point.

Various test surfaces supplied and tested against analytical results.
2009-12-18 18:14:32 +00:00
Mark Olesen
d016db1bc6 Enhance edgeMesh to support more formats.
Read only support:

  .bdf, .nas - NASTRAN format. Handles both CBEAM and CROD as lines.
  CROD is what Hypermesh happens to output.

Write only support:

  .vtk - VTK legacy format in ASCII

Read/write support:
  .eMesh - native format, which is simply a list of points, edges
      with an additional IOobject header that lets them be moved about
      easily to use as a featureEdgeMesh.

  .inp - STAR-CD inp/cel/vrt combination
       IOobject header)

  .obj - Alias waverfront format

Radically simplify surfaceFeatureConvert by using the new edgeMesh
functionality.
2009-12-11 16:29:55 +01:00
Mark Olesen
0fc464254a Fix minor bug in surfaceFeatureExtract.C 2009-12-09 13:50:31 +01:00
Mark Olesen
30eac79d55 argList gets addNote() static method
- output any notes in the usage
2009-12-09 10:58:32 +01:00
Mark Olesen
190bbd69de add corners() method to boundBox 2009-12-07 13:06:03 +01:00
Mark Olesen
37c4f2f375 remove empty 'Description' from various .C files 2009-12-04 14:11:33 +01:00
Mark Olesen
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01: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
00985638d8 remove fvCFD.H usage from remaining library source
- exception calcType.H since it'll most likely be used for building
  applications anyhow

- use quailified names in more of the lagrangian code

- killed some tab indents in various places.
2009-12-02 15:34:52 +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
graham
ad669ae3d8 Merge branch 'master' into cvm
Conflicts:
	doc/codingStyleGuide.org
2009-11-30 14:55:39 +00:00
Mark Olesen
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01: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
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
graham
14675f23e0 Merge branch 'master' into cvm 2009-11-16 15:50:36 +00:00
mattijs
6ae8581d03 explicit constructor 2009-11-13 18:18:32 +00:00
graham
93a97bc0e5 Merge branch 'master' into cvm 2009-10-19 18:28:21 +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
graham
52468771d5 Merging master, fixing wmake/rules conflict. 2009-09-21 11:21:06 +01:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
graham
325e9e0ab0 Merge branch 'master' into cvm 2009-09-15 15:17:08 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
graham
2fca5550cd Merge branch 'master' into cvm 2009-08-19 18:40:21 +01:00
mattijs
064892f3f8 surface patch handling improvements 2009-08-17 22:04:14 +01:00
mattijs
adf3e4b7e1 clever usage of #include 2009-08-17 17:05:38 +01:00
graham
e974a62837 Merge branch 'master' into cvm 2009-08-11 23:17:56 +01:00
graham
349d714271 Rename utility surfaceRemoveBaffles -> surfaceSplitByTopology 2009-08-11 19:46:20 +01:00
graham
7179677fae Adding surfaceRemoveBaffles utility to strip baffle parts from surfaces. 2009-08-11 19:03:26 +01:00
mattijs
d8f39a9361 improved error message 2009-08-11 12:58:29 +01:00
graham
2d2c8cf8bc Merge branch 'master' into cvm 2009-07-28 10:40:50 +01:00
andy
930477f0f1 updating verion dev->1.6 2009-07-24 17:49:15 +01:00
henry
816f6b3488 Updated the headers. 2009-07-24 17:01:31 +01:00
graham
0cbe8c8466 Fixing snappyHexMesh tut conflict 2009-07-06 14:40:38 +01:00
mattijs
801f18b5ed added region option 2009-07-01 13:55:05 +01:00
graham
02ddfa98e1 Merging master, fixing conflict in searchableBox.C 2009-06-18 15:26:01 +01:00
mattijs
918a34dca4 surface redistribution 2009-06-02 17:47:51 +01:00
graham
8416ec4ebc merging master, fixing conflict in surfaceFeatureExtract. 2009-05-20 18:40:50 +01:00
Mark Olesen
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
graham
ff66dc68d4 Merge branch 'master' into cvm 2009-04-25 13:47:54 +01:00
graham
aee81bd45e Added points and edges only constructor for surfaceFeatureConvert 2009-04-24 17:57:18 +01:00
mattijs
371903eb4a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-04-23 16:22:31 +01:00
graham
423ed7be7e Merge branch 'master' into cvm 2009-04-22 19:46:48 +01:00
graham
261b4dc28f Basic featureEdgeMesh functionality. Dropped intermediate edgeMesh, not serving any purpose, moved io into featureEdgeMesh. Reads and writes from file. Can construct self from surfaceFeatures object. This functionality added to surfaceFeatureExtract, writing to constant/featureEdgeMesh. 2009-04-22 18:47:13 +01:00
mattijs
7de5697a2d use PatchTools algorithms 2009-04-20 17:49:24 +01:00
Mark Olesen
6a3d9effa0 fixed typo in surface utils 2009-04-17 11:16:44 +02:00
mattijs
b020b28787 made selfintersection check optional 2009-04-09 16:51:52 +01:00
Mark Olesen
fb1e155eed Merge commit 'OpenCFD/master' into olesenm 2009-03-16 08:28:08 +01:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
mattijs
642dadf1f7 yaw pitch roll 2009-03-12 15:12:31 +00:00
Mark Olesen
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
Mark Olesen
ce3d79de1c surfMesh changes
- can read MeshedSurface, UnsortedMeshedSurface from surfMesh/
- can write surfMesh in any third-party format
2009-03-10 01:37:06 +01:00
Mark Olesen
6309810e2e surfMesh reworked
- treat 'ofs' IO just like any other format
- dropped BasicMeshedSurface, since MeshedSurface can now also have zero or
  more zones
- UnsortedMeshedSurface is a special type of MeshedSurface with zero zones,
  but with additional zoneId labels
- use MeshedSurfaceProxy for writing surfaces with points/faces/zones and
  optional faceMap - provides output interface for MeshedSurface,
  UnsortedMeshedSurface and surfMesh.
- simplify output to filenames only, I can't see that the Ostream
  is needed anywhere
- surfMesh renaming now works, after the objectRegistry fix
2009-03-08 00:59:33 +01:00
mattijs
e1c28506b7 scaling logic 2009-03-06 13:35:05 +00:00
Mark Olesen
69918f23c5 consistency update
- OSspecific: chmod() -> chMod(), even although it's not used anywhere

- ListOps get subset() and inplaceSubset() templated on BoolListType

- added UList<bool>::operator[](..) const specialization.
  Returns false (actually pTraits<bool>::zero) for out-of-range elements.
  This lets us use List<bool> with lazy evaluation and no noticeable
  change in performance.

- use rcIndex() and fcIndex() wherever possible.
  Could check if branching or modulus is faster for fcIndex().

- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
  Similar to the STL front() and std::string::data() methods, they return a
  pointer to the first element without needing to write '&myList[0]', recast
  begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
Mark Olesen
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
Mark Olesen
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
Mark Olesen
fb29e08539 Merge commit 'bundle/home' into olesenm 2009-02-06 08:34:43 +01:00
Mark Olesen
22f6b4dc06 surfMesh gets surfPointFields, surfaceFormats write() for surf mesh components
- add placeholder BoundaryMesh to surfMesh allows us to drop the
  SurfGeoMesh class and just reuse the GeoMesh class.
  Do the same for triSurface.
2009-02-05 22:41:22 +01:00
Mark Olesen
3aba0e28ff surfMesh, surfaceRegistry re-working 2009-02-05 16:12:35 +01:00
Mark Olesen
a4d0094e48 added surfaceMeshImport, surfaceMeshExport 2009-02-05 00:08:24 +01:00
Mark Olesen
a43df3bddd added surfMesh, reworked MeshedSurface
- renamed surface regions (formerly patches or groups) to surfZone.

- added surfMesh, but without any of the patch information needed to make it
  useful for finiteArea.

- promoted coordinateSystem transformation to surfaceMeshConvert and moved
  old to surfaceMeshConvertTesting.
2009-02-04 16:17:14 +01:00
Mark Olesen
05440dd4a0 updated surfaceCoordinateSystemTransform 2009-02-02 16:57:50 +01:00
Mark Olesen
ffdb280a27 reworked surfMesh and PrimitivePatchExtra
- ditched PrimitivePatchExtra in favour of a PatchTools class that is
  currently just a collection of static functions. They could equally well
  live within PrimitivePatch itself, but isolated also has its advantages.

- MeshedSurface, UnsortedMeshedSurface now have 'regions' instead of
  'patches' since they are more like a faceZone for meshed surfaces than
  patches. This might avoid confusion at a later stage.
2009-01-27 23:03:21 +01:00
Mark Olesen
c048dd88c7 use new IOobject constructor: blockMesh, surfaceCoordinateSystemTransform(beta) 2009-01-27 15:12:19 +01:00
Mark Olesen
0690c64d31 PrimitivePatchExtra orientation fixed and improved face::edgeDirection() 2009-01-21 01:19:31 +01:00
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
dcc82bf77b boundingBox has mag() and span() methods - use them 2008-12-31 17:58:23 +01:00
Mark Olesen
e72a6234d6 surfMesh changes
- expose faceMap info in triangulate() - for use in inherited classes
 - surfMesh::triangulate() works with or without underlying pointField
 - onePatch tries to be more intelligent about retaining the patch name
2008-11-22 11:22:34 +01:00
Mark Olesen
4e700e62b0 surfMesh - moved more things to PrimitiveMeshedSurface 2008-11-17 14:55:47 +01:00
Mark Olesen
d01c115f02 surfMesh gets PrimitiveMeshedSurface as common basis 2008-11-17 01:41:07 +01:00
Mark Olesen
c651a0ba29 surfMesh code cleanup
- added protected storedPoints(), storedFaces() functions for non-const
   access to the data. Mixing protected non-const versions and public const
   versions of the same method does not agree with the compiler
 - better handling of triFace/face distinction
2008-11-15 23:29:50 +01:00
Mark Olesen
59bfd4ecef added surfaceCoordinateSystemTransform 2008-11-14 19:10:01 +01:00
Mark Olesen
9b3fb9fee3 Templated meshedSurface/keyedSurface -> MeshedSurface/UnsortedMeshedSurface
- neither class names, nor the typedefs for the <face> and <triFace>
    instances are really decided
2008-11-14 00:45:45 +01:00
Mark Olesen
345df1e970 Merge commit 'OpenCFD/master' into olesenm 2008-11-05 10:42:05 +01:00