diff --git a/Allwmake b/Allwmake
index 16edfd1f6f..9187532553 100755
--- a/Allwmake
+++ b/Allwmake
@@ -26,12 +26,12 @@ else
fi
# build OpenFOAM libraries and applications
-src/Allwmake
-applications/Allwmake
+src/Allwmake $*
+applications/Allwmake $*
if [ "$1" = doc ]
then
- doc/Allwmake
+ doc/Allwmake $*
fi
# ----------------------------------------------------------------- end-of-file
diff --git a/applications/Allwmake b/applications/Allwmake
index 00bc326641..7f7ac6718d 100755
--- a/applications/Allwmake
+++ b/applications/Allwmake
@@ -16,7 +16,7 @@ wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
set -x
-wmake all utilities
-wmake all solvers
+wmake all utilities $*
+wmake all solvers $*
# ----------------------------------------------------------------- end-of-file
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H
index 109354319e..aaf4620e3c 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -22,8 +22,7 @@ License
along with OpenFOAM. If not, see .
Class
- Foam::XiGModel::basicSubGrid
-
+ Foam::XiGModels::basicSubGrid
Description
@@ -39,13 +38,14 @@ Description
and the removal:
- \f[ - k_{1} /frac{\vert \dwea{\vec{U}} \vert}{L_{sub}}
- \frac{\Xi_{sub}-1}{\Xi_{sub}} \f]
+ \f[
+ - k_{1} /frac{\vert \dwea{\vec{U}} \vert}{L_{sub}}
+ \frac{\Xi_{sub}-1}{\Xi_{sub}}
+ \f]
Finally, \f$ G_{sub} \f$ is added to generation rate \f$ G_{in} \f$
due to the turbulence.
-
SourceFiles
basicSubGrid.C
@@ -64,7 +64,7 @@ namespace XiGModels
{
/*---------------------------------------------------------------------------*\
- Class basicSubGrid Declaration
+ Class basicSubGrid Declaration
\*---------------------------------------------------------------------------*/
class basicSubGrid
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H
index 4c7095a6ed..1a4bb1ec0b 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see .
Class
- Foam::XiEqModel::SCOPEXiEq
+ Foam::XiEqModels::SCOPEXiEq
Description
Simple SCOPEXiEq model for XiEq based on SCOPEXiEqs correlation
@@ -120,7 +120,6 @@ public:
//- Update properties from given dictionary
virtual bool read(const dictionary& XiEqProperties);
-
};
diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.C b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.C
index 00aa92630f..d78011c9db 100644
--- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.C
+++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.C
@@ -26,6 +26,10 @@ License
#include "DelaunayMesh.H"
#include "labelPair.H"
#include "PrintTable.H"
+#include "pointIOField.H"
+#include "scalarIOField.H"
+#include "labelIOField.H"
+#include "pointConversion.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@@ -36,14 +40,121 @@ License
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template
-Foam::DelaunayMesh::DelaunayMesh()
+Foam::DelaunayMesh::DelaunayMesh(const Time& runTime)
:
Triangulation(),
vertexCount_(0),
- cellCount_(0)
+ cellCount_(0),
+ runTime_(runTime)
{}
+template
+Foam::DelaunayMesh::DelaunayMesh
+(
+ const Time& runTime,
+ const word& meshName
+)
+:
+ Triangulation(),
+ vertexCount_(0),
+ cellCount_(0),
+ runTime_(runTime)
+{
+ pointIOField pts
+ (
+ IOobject
+ (
+ "points",
+ runTime.timeName(),
+ meshName/polyMesh::meshSubDir,
+ runTime,
+ IOobject::READ_IF_PRESENT,
+ IOobject::NO_WRITE
+ )
+ );
+
+ labelIOField types
+ (
+ IOobject
+ (
+ "types",
+ runTime.timeName(),
+ meshName,
+ runTime,
+ IOobject::READ_IF_PRESENT,
+ IOobject::NO_WRITE
+ )
+ );
+
+ labelIOField indices
+ (
+ IOobject
+ (
+ "indices",
+ runTime.timeName(),
+ meshName,
+ runTime,
+ IOobject::READ_IF_PRESENT,
+ IOobject::NO_WRITE
+ )
+ );
+
+ labelIOField processorIndices
+ (
+ IOobject
+ (
+ "processorIndices",
+ runTime.timeName(),
+ meshName,
+ runTime,
+ IOobject::READ_IF_PRESENT,
+ IOobject::NO_WRITE
+ )
+ );
+
+ if (pts.headerOk())
+ {
+ forAll(pts, ptI)
+ {
+ Vertex_handle vh = this->insert(toPoint(pts[ptI]));
+
+ if (indices.headerOk())
+ {
+ vh->index() = indices[ptI];
+ vertexCount()++;
+ }
+ else
+ {
+ vh->index() = getNewVertexIndex();
+ }
+
+ if (processorIndices.headerOk())
+ {
+ vh->procIndex() = processorIndices[ptI];
+ }
+ else
+ {
+ vh->procIndex() = Pstream::myProcNo();
+ }
+
+ if (types.headerOk())
+ {
+ vh->type() =
+ static_cast
+ (
+ types[ptI]
+ );
+ }
+ else
+ {
+ vh->type() = Vb::vtUnassigned;
+ }
+ }
+ }
+}
+
+
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
template
diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H
index 383ee64bae..1fbf19c1d6 100644
--- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H
+++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H
@@ -43,6 +43,7 @@ SourceFiles
#include "boundBox.H"
#include "indexedVertex.H"
#include "CGALTriangulation3Ddefs.H"
+#include "Time.H"
#include "autoPtr.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@@ -82,6 +83,12 @@ public:
FixedList