Commit Graph

607 Commits

Author SHA1 Message Date
Henry Weller
43beb06018 Standardized cell, patch and face loop index names 2016-04-25 10:28:32 +01:00
Henry Weller
2d5ff31649 boundaryField() -> boundaryFieldRef() 2016-04-24 22:07:37 +01:00
Henry Weller
8c6fa81eba vector::zero -> Zero 2016-04-16 18:34:41 +01:00
Henry Weller
6d9c7112c3 Updated header 2016-04-04 13:53:51 +01:00
Henry Weller
266651f1b9 surfaceMeshConvert: Reinstated missing error messages 2016-04-04 13:53:20 +01:00
Henry Weller
cb65ba71d7 Made all template declarations consistent using 'class' rather than 'typename' 2016-03-22 15:02:55 +00:00
Henry Weller
caf8776f9b SquareMatrix, SymmetricSquareMatrix: Changed the constructor from size to require only n
This avoids the need to check that the m and n dimensions are the same.
2016-03-22 14:13:48 +00:00
Henry Weller
67a51b1fdd Matrix: Added (i, j) addressing to allow support for addressing blocks of the matrix
This change brings OpenFOAM into line with the standard matrix
addressing in other C++ libraries for better interoperability.
2016-03-20 19:44:29 +00:00
Henry Weller
fa5867137d transformPoints, surfaceTransformPoints: Updated quaternion construction from Euler-angles
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2024
2016-03-14 16:40:35 +00:00
Henry Weller
7ba41e0095 Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
Henry Weller
cd852be3da OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file.  However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.

Please report any problems on Mantis.

Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
Andrew Heather
c35bcc05f4 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-27 23:22:54 +01:00
Andrew Heather
efb39a8790 ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
Mark Olesen
97943ed819 COMP: improve robustness and warning messages when building paraview plugins 2016-06-17 09:31:41 +02:00
Andrew Heather
158a925235 ENH: Updated xxx::zero->Zero 2016-04-28 14:17:06 +01:00
Andrew Heather
b9313ef2fe ENH: Consistency updates after Foundation merge and code tidying 2016-04-25 16:46:56 +01:00
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
96b0f62d04 surfaceCoarsen: Changed List<::... to List< ::... for gcc-4.5 2016-02-21 09:03:39 +00:00
mattijs
9e3ce4ec7f Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
Conflicts:
	applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
	applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
	applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
	applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
	applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
	applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
	applications/utilities/postProcessing/velocityField/Co/Co.C
	applications/utilities/postProcessing/velocityField/Pe/Pe.C
	applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
	applications/utilities/preProcessing/changeDictionary/changeDictionary.C
	applications/utilities/preProcessing/setFields/setFields.C
	applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
	applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
	applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
	applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
	src/OpenFOAM/db/IOobject/IOobject.C
	src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
	src/OpenFOAM/db/IOobjects/IOField/IOField.C
	src/OpenFOAM/db/IOobjects/IOList/IOList.C
	src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
	src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
	src/OpenFOAM/db/Time/findInstance.C
	src/OpenFOAM/db/regIOobject/regIOobject.C
	src/OpenFOAM/db/regIOobject/regIOobjectI.H
	src/OpenFOAM/db/regIOobject/regIOobjectRead.C
	src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
	src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
	src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
	src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
	src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
	src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
	src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
	src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
	src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
	src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
	src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
	src/lagrangian/basic/Cloud/CloudIO.C
	src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
	src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
	src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
	src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
	src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
	src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
mattijs
e424059208 ENH: glboal file handling: initial commit
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
  (e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
  for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
Henry Weller
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
Henry Weller
4eba393fe1 Update code to use the simpler C++11 template syntax 2016-01-10 19:20:16 +00:00
Henry Weller
75cf86b769 Correct formatting: "forAll (" -> "forAll("
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1967
2016-01-09 23:10:16 +00:00
Andrew Heather
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
Andrew Heather
04752147c8 GIT: Resolved conflict on merge from upstream 2015-12-22 16:49:44 +00:00
mattijs
ca834a93c8 BUG: triSurfaceMesh: operate non-parallel so not do a reduction of points
Also redistributePar:
- recognise going from undecomposed to many
- read on master only
2015-12-14 09:36:52 +00:00
mattijs
e44d484d37 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-09 16:26:39 +00:00
Andrew Heather
0e01c44129 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
5c9dff6146 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
abeef3313d STYLE: Updated header file documentation 2015-12-09 16:10:35 +00:00
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
mattijs
8a724e82a9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-09 11:02:22 +00:00
mattijs
6510e5ce49 ENH: surfaceRedistributePar: switch off file modification checking. 2015-12-09 10:53:17 +00:00
Andrew Heather
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
Andrew Heather
8400a1c19f ENH: Updated notImplemented(...)->NotImplemented messages 2015-12-08 22:56:15 +00:00
Andrew Heather
eafd5a3850 ENH: Updated Info, Warning and Error messages 2015-12-08 11:15:39 +00:00
Andrew Heather
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
Andrew Heather
73dac8c7ee ENH: Updating utilities based on internal development line 2015-12-02 10:17:28 +00:00
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
mattijs
c6a3d4f3c5 ENH: surface: various updates to the surface utilities
surfaceBooleanFeatures: use CGAL for intersection
surfaceCheck: write surface zoning as vtk file
surfaceInflate: new utility to offset surface
surfacePatch: replacement for surfaceAutoPatch. Also does cutting of surfaces.
2015-11-10 15:04:32 +00:00
Henry Weller
8342cdc6ee Documentation: Use '-' rather than '+' for lists for Doxygen 2015-10-29 22:41:34 +00:00
Henry
3673b65b61 surfaceCheck: Make -blockMesh output easier to parse
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1534
2015-02-16 22:15:54 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
f4596ad247 Resolve issues relating to compilation with clang-3.5.0 2014-12-15 22:38:10 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
mattijs
18d73c1131 BUG: surfaceCheck: face based data 2014-09-26 17:39:37 +01:00
mattijs
723e5bd75c STYLE: surfaceCheck: use boundBox non-reduce constructor 2014-06-09 11:12:14 +01:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
mattijs
1f192f8b73 ENH: snappyHexMesh: have single region surface named as <surface> instead of <surface>_<region> 2014-01-27 12:44:45 +00:00
mattijs
ff50972634 ENH: surfaceCheck: added writing of zones as vtk file 2014-01-07 14:58:15 +00:00
mattijs
198a9a6adf ENH: surfaceLambdaMuSmooth: shortcut if mu=0 2013-12-20 16:00:26 +00:00
mattijs
fe4762ca58 ENH: surfaceLambdaMuSmooth: added reference 2013-12-18 12:11:49 +00:00
mattijs
7dfccf21ad ENH: surfaceFeatureExtract: excess dumping of obj files 2013-11-20 15:42:36 +00:00
mattijs
cde75af134 ENH: surfaceMeshTriangulate: extract faceZones 2013-10-01 16:26:36 +01:00
laurence
615a74626e ENH: foamyHexMesh: Include baffle handling 2013-09-25 12:37:19 +01:00
mattijs
71528efa13 BUG: surfaceFeatureExtract: checking for valid dictionary 2013-09-05 09:50:44 +01:00
mattijs
714799612e ENH: surfaceFeatureExtract: skip non-dictionary entries. 2013-09-04 16:23:49 +01:00
mattijs
f6757ce79e BUG: surfaceFeatureExtract: extraneous check for CGAL 2013-08-01 15:18:41 +01:00
mattijs
6c319ce47b ENH: surfaceSubset: add select-by-plane 2013-07-11 17:12:49 +01:00
mattijs
9fc91675b3 ENH: surfaceCheck: do self-intersection more efficiently 2013-06-21 12:34:25 +01:00
laurence
62f18ee7d5 BUG: extendedFeatureEdgeMesh: Add stream operators for sideVolumeType 2013-06-20 12:40:15 +01:00
mattijs
a26c9ebd55 ENH: surfaceCheck: new self-intersection test 2013-06-10 11:27:20 +01:00
mattijs
057691a6b4 STYLE: surfaceLambdaMuSmooth: remove unused code 2013-06-04 14:28:16 +01:00
laurence
aa6f0170a3 ENH: Add surfaceLambdaMuSmooth utility and remove surfaceSmooth
Set lambda to the relaxation factor and mu to zero to replicate
laplacian smoothing from surfaceSmooth in the new utility
2013-06-03 14:30:51 +01:00
laurence
4ac91793a3 ENH: surfaceBooleanFeatures: Update and start handling baffles 2013-05-31 17:17:34 +01:00
laurence
0a7eada21b ENH: Remove dependencies on CGAL because of new curvature calculation method 2013-05-31 12:42:38 +01:00
laurence
65ed16c33e ENH: update surfaceFeatureExtract to work with new surfaceFeatures 2013-05-31 10:39:25 +01:00
laurence
143a43836f REVERT: Remove findNearestOpSubset from treeDataEdge and add to the application 2013-05-16 10:43:44 +01:00
laurence
6f9823d0de Merge branch 'master' into feature/cvMesh
Conflicts:
	src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C
	src/OpenFOAM/algorithms/indexedOctree/indexedOctree.H
	src/dynamicMesh/polyMeshFilter/polyMeshFilter.C
	src/meshTools/indexedOctree/treeDataPrimitivePatch.C
	src/meshTools/indexedOctree/treeDataTriSurface.C
	src/meshTools/triSurface/triSurfaceSearch/triSurfaceSearch.C
2013-05-08 12:20:52 +01:00
andy
9ebd8a851a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-05-03 17:33:37 +01:00
laurence
45fd7105ff ENH: Add surfaceHookUp utility
Matches boundary edges between surfaces by retriangulating edges.
2013-05-03 12:45:25 +01:00
andy
4435d64047 STYLE: Corrected spelling mistakes 2013-04-16 17:01:23 +01:00
laurence
f52327c4e3 BUG: Incorrect assignment 2013-04-11 21:00:32 +01:00
laurence
c2d3bab08e ENH: Merge searchableSurface and indexedOctree volumeType 2013-04-11 19:52:03 +01:00
laurence
e2482a4e8b ENH: Merge searchableSurface and indexedOctree volumeType 2013-04-11 19:52:03 +01:00
laurence
72c3da08b2 Merge branch 'master' into feature/cvMesh
Conflicts:
	applications/test/Matrix/Test-Matrix.C
	applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.C
	applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.H
	src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C
	src/OpenFOAM/primitives/Tensor2D/Tensor2DI.H
2013-04-05 16:09:24 +01:00
laurence
13ea7fc73a ENH: Add new curvature calculation to surfaceFeatureExtract 2013-03-21 10:36:27 +00:00
laurence
f33b977421 ENH: surfaceBooleanFeatures: Output files to constant/extendedFeatureEdgeMesh 2013-03-15 12:46:18 +00:00
andy
b45a4486b1 STYLE: Updates to erroneous copyright dates - applications 2013-03-13 09:45:16 +00:00
laurence
448bd7be3e ENH: surfaceFeatures: Add an option to only extract features geometrically
If geometricTestOnly is set to true then edges will not be marked as region
edges, only as internal or external edges. If there are any edges still
marked as regions then this is because they are non-manifold.
2013-02-27 12:34:44 +00:00
andy
e637dc30d1 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-02-21 16:11:47 +00:00
Henry
944b8d438b Reformat "template <..." to template<"
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:09 +00:00
andy
951c8436aa ENH: Applying Gijs' patch: Update header documentation for utilities 2013-02-21 10:54:34 +00:00
laurence
53533a2da2 ENH: cvMesh: split refinement and smoothing of background mesh 2013-01-28 18:01:22 +00:00
mattijs
6a69674412 ENH: surfaceFeatureExtract: handle -case correctly 2013-01-18 15:32:47 +00:00
laurence
ff3654956a STYLE: Code cleanup and add some comments 2013-01-10 10:50:05 +00:00
laurence
a517fbfcbe BUG: surfaceFeatureExtract: Fix the search distance for feature proximity 2013-01-04 12:45:48 +00:00
mattijs
6c04062df2 STYLE: surfaceClean: unused routine 2012-12-18 17:24:42 +00:00
laurence
f443931e5e ENH: Make set an autoPtr. Remove flip switch. 2012-12-11 17:09:14 +00:00
laurence
9f61b9123b ENH: Add enum and featurePointEdges. 2012-12-11 17:08:27 +00:00
mattijs
9ccd5809b8 BUG: sampleDict: missing type 2012-12-05 15:21:00 +00:00
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