diff --git a/bin/foamPackSource b/bin/foamPackSource index 83fe64391f..cf66ac409a 100755 --- a/bin/foamPackSource +++ b/bin/foamPackSource @@ -32,7 +32,7 @@ # Not normally called directly by the user #------------------------------------------------------------------------------ tmpFile=${TMPDIR:-/tmp}/foamPackFiles.$$ -toolsDir="${0%/*}" # this script is already located in the tools/ directory +toolsDir="${0%/*}/tools" # this script is located in the tools/ parent dir [ $# -eq 2 ] || { cat <&2 diff --git a/etc/prefs.csh-EXAMPLE b/etc/prefs.csh-EXAMPLE index 68d08b4ca6..64bd5dfaeb 100644 --- a/etc/prefs.csh-EXAMPLE +++ b/etc/prefs.csh-EXAMPLE @@ -38,7 +38,7 @@ ## Specify system compiler ## ~~~~~~~~~~~~~~~~~~~~~~~ -#set foamCompiler=system +#set foamCompiler=OpenFOAM ## Specify system openmpi ## ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/etc/prefs.sh-EXAMPLE b/etc/prefs.sh-EXAMPLE index 4820f82dcd..24fea69835 100644 --- a/etc/prefs.sh-EXAMPLE +++ b/etc/prefs.sh-EXAMPLE @@ -38,7 +38,7 @@ # Specify system compiler # ~~~~~~~~~~~~~~~~~~~~~~~ -foamCompiler=system +foamCompiler=OpenFOAM # Specify system openmpi # ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.C b/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.C index 839ee4f954..bf2feef23b 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -47,11 +47,11 @@ UNARY_FUNCTION(tensor, tensor, dev2, transform) UNARY_FUNCTION(scalar, tensor, det, transform) UNARY_FUNCTION(tensor, tensor, cof, cof) UNARY_FUNCTION(tensor, tensor, inv, inv) -UNARY_FUNCTION(vector, tensor, eigenValues, sign) -UNARY_FUNCTION(tensor, tensor, eigenVectors, transform) +UNARY_FUNCTION(vector, tensor, eigenValues, transform) +UNARY_FUNCTION(tensor, tensor, eigenVectors, sign) -UNARY_FUNCTION(vector, symmTensor, eigenValues, sign) -UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, transform) +UNARY_FUNCTION(vector, symmTensor, eigenValues, transform) +UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, sign) // * * * * * * * * * * * * * * * global operators * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.H b/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.H index 8b17e903f6..7e68de7ff2 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.H +++ b/src/OpenFOAM/fields/GeometricFields/GeometricTensorField/GeometricTensorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -60,11 +60,11 @@ UNARY_FUNCTION(tensor, tensor, dev2, transform) UNARY_FUNCTION(scalar, tensor, det, transform) UNARY_FUNCTION(tensor, tensor, cof, cof) UNARY_FUNCTION(tensor, tensor, inv, inv) -UNARY_FUNCTION(vector, tensor, eigenValues, sign) -UNARY_FUNCTION(tensor, tensor, eigenVectors, transform) +UNARY_FUNCTION(vector, tensor, eigenValues, transform) +UNARY_FUNCTION(tensor, tensor, eigenVectors, sign) -UNARY_FUNCTION(vector, symmTensor, eigenValues, sign) -UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, transform) +UNARY_FUNCTION(vector, symmTensor, eigenValues, transform) +UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, sign) // * * * * * * * * * * * * * * * global operators * * * * * * * * * * * * * // diff --git a/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H b/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H index b5f16857ac..c84796da41 100644 --- a/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H +++ b/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -25,7 +25,7 @@ Class Foam::lduPrimitiveMesh Description - Simplest contrete lduMesh which stores the addressing needed bu lduMatrix. + Simplest contrete lduMesh which stores the addressing needed by lduMatrix. \*---------------------------------------------------------------------------*/ diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C index f16ce4085e..edf4fb4da8 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2010-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,11 +26,6 @@ License #include "processorCyclicPointPatch.H" #include "pointBoundaryMesh.H" #include "addToRunTimeSelectionTable.H" -//#include "pointMesh.H" -//#include "globalPointPatch.H" -//#include "faceList.H" -//#include "primitiveFacePatch.H" -//#include "emptyPolyPatch.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -49,344 +44,6 @@ addToRunTimeSelectionTable ); -// * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * // - -//void Foam::processorCyclicPointPatch::initGeometry(PstreamBuffers& pBufs) -//{ -// // Algorithm: -// // Depending on whether the patch is a master or a slave, get the -// // primitive patch points and filter away the points from the -// // global patch. -// -// if (isMaster()) -// { -// meshPoints_ = procPolyPatch_.meshPoints(); -// } -// else -// { -// // Slave side. Create the reversed patch and pick up its points -// // so that the order is correct -// const polyPatch& pp = patch(); -// -// faceList masterFaces(pp.size()); -// -// forAll(pp, faceI) -// { -// masterFaces[faceI] = pp[faceI].reverseFace(); -// } -// -// meshPoints_ = primitiveFacePatch -// ( -// masterFaces, -// pp.points() -// ).meshPoints(); -// } -// -// if (Pstream::parRun()) -// { -// initPatchPatchPoints(pBufs); -// } -//} -// -// -//void Foam::processorCyclicPointPatch::calcGeometry(PstreamBuffers& pBufs) -//{ -// if (Pstream::parRun()) -// { -// calcPatchPatchPoints(pBufs); -// } -// -// // If it is not runing parallel or there are no global points -// // create a 1->1 map -// if -// ( -// !Pstream::parRun() -// || !boundaryMesh().mesh().globalData().nGlobalPoints() -// ) -// { -// nonGlobalPatchPoints_.setSize(meshPoints_.size()); -// forAll(nonGlobalPatchPoints_, i) -// { -// nonGlobalPatchPoints_[i] = i; -// } -// } -// else -// { -// // Get reference to shared points -// const labelList& sharedPoints = -// boundaryMesh().globalPatch().meshPoints(); -// -// nonGlobalPatchPoints_.setSize(meshPoints_.size()); -// -// label noFiltPoints = 0; -// -// forAll(meshPoints_, pointI) -// { -// label curP = meshPoints_[pointI]; -// -// bool found = false; -// -// forAll(sharedPoints, sharedI) -// { -// if (sharedPoints[sharedI] == curP) -// { -// found = true; -// break; -// } -// } -// -// if (!found) -// { -// nonGlobalPatchPoints_[noFiltPoints] = pointI; -// meshPoints_[noFiltPoints] = curP; -// noFiltPoints++; -// } -// } -// -// nonGlobalPatchPoints_.setSize(noFiltPoints); -// meshPoints_.setSize(noFiltPoints); -// } -//} -// -// -//void processorCyclicPointPatch::initPatchPatchPoints(PstreamBuffers& pBufs) -//{ -// if (debug) -// { -// Info<< "processorCyclicPointPatch::" -// << "initPatchPatchPoints(PstreamBuffers&) : " -// << "constructing patch-patch points" -// << endl; -// } -// -// const polyBoundaryMesh& bm = boundaryMesh().mesh()().boundaryMesh(); -// -// // Get the mesh points for this patch corresponding to the faces -// const labelList& ppmp = meshPoints(); -// -// // Create a HashSet of the point labels for this patch -// Map