Corrected spelling in comments

Resolves bug-report https://bugs.openfoam.org/view.php?id=2844
This commit is contained in:
Henry Weller
2018-02-13 20:39:56 +00:00
parent 6a417d4a93
commit fe1fade8cb
182 changed files with 1242 additions and 1244 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -61,7 +61,7 @@ Description
CR: Drag tensor (1/m) CR: Drag tensor (1/m)
CT: Turbulence generation parameter (1/m) CT: Turbulence generation parameter (1/m)
Nv: Number of obstacles in cell per unit volume (m^-2) Nv: Number of obstacles in cell per unit volume (m^-2)
nsv: Tensor whose diagonal indicates the number to substract from nsv: Tensor whose diagonal indicates the number to subtract from
Nv to get the number of obstacles crossing the flow in each Nv to get the number of obstacles crossing the flow in each
direction. direction.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,7 +26,7 @@ Class
Description Description
Contact-angle boundary condition for multi-phase interface-capturing Contact-angle boundary condition for multi-phase interface-capturing
simulations. Used in conjuction with multiphaseMixture. simulations. Used in conjunction with multiphaseMixture.
SourceFiles SourceFiles
alphaContactAngleFvPatchScalarField.C alphaContactAngleFvPatchScalarField.C
@ -65,7 +65,7 @@ public:
//- Limiting advancing contact angle //- Limiting advancing contact angle
scalar thetaA_; scalar thetaA_;
//- Limiting receeding contact angle //- Limiting receding contact angle
scalar thetaR_; scalar thetaR_;
@ -100,7 +100,7 @@ public:
else return 180.0 - thetaA_; else return 180.0 - thetaA_;
} }
//- Return the limiting receeding contact angle //- Return the limiting receding contact angle
scalar thetaR(bool matched=true) const scalar thetaR(bool matched=true) const
{ {
if (matched) return thetaR_; if (matched) return thetaR_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,7 +26,7 @@ Class
Description Description
Contact-angle boundary condition for multi-phase interface-capturing Contact-angle boundary condition for multi-phase interface-capturing
simulations. Used in conjuction with multiphaseSystem. simulations. Used in conjunction with multiphaseSystem.
SourceFiles SourceFiles
alphaContactAngleFvPatchScalarField.C alphaContactAngleFvPatchScalarField.C
@ -65,7 +65,7 @@ public:
//- Limiting advancing contact angle //- Limiting advancing contact angle
scalar thetaA_; scalar thetaA_;
//- Limiting receeding contact angle //- Limiting receding contact angle
scalar thetaR_; scalar thetaR_;
@ -100,7 +100,7 @@ public:
else return 180.0 - thetaA_; else return 180.0 - thetaA_;
} }
//- Return the limiting receeding contact angle //- Return the limiting receding contact angle
scalar thetaR(bool matched=true) const scalar thetaR(bool matched=true) const
{ {
if (matched) return thetaR_; if (matched) return thetaR_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,7 +26,7 @@ Class
Description Description
Contact-angle boundary condition for multi-phase interface-capturing Contact-angle boundary condition for multi-phase interface-capturing
simulations. Used in conjuction with multiphaseMixture. simulations. Used in conjunction with multiphaseMixture.
SourceFiles SourceFiles
alphaContactAngleFvPatchScalarField.C alphaContactAngleFvPatchScalarField.C
@ -65,7 +65,7 @@ public:
//- Limiting advancing contact angle //- Limiting advancing contact angle
scalar thetaA_; scalar thetaA_;
//- Limiting receeding contact angle //- Limiting receding contact angle
scalar thetaR_; scalar thetaR_;
@ -100,7 +100,7 @@ public:
else return 180.0 - thetaA_; else return 180.0 - thetaA_;
} }
//- Return the limiting receeding contact angle //- Return the limiting receding contact angle
scalar thetaR(bool matched=true) const scalar thetaR(bool matched=true) const
{ {
if (matched) return thetaR_; if (matched) return thetaR_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2015-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -27,7 +27,7 @@ Class
Description Description
Class which represents a phase with a thermodynamic model. Provides access Class which represents a phase with a thermodynamic model. Provides access
to the thermodynamic variables. Note that the thermo model itself is not to the thermodynamic variables. Note that the thermo model itself is not
returned as this class could be substituted in the hierarcy for one which returned as this class could be substituted in the hierarchy for one which
mirrors the functionality, but does not include a thermo model; an mirrors the functionality, but does not include a thermo model; an
incompressible phase model, for example. incompressible phase model, for example.

View File

@ -257,10 +257,10 @@ class populationBalanceModel
//- Drift rate //- Drift rate
autoPtr<volScalarField> driftRate_; autoPtr<volScalarField> driftRate_;
//- Ratio between sucessive representative volumes //- Ratio between successive representative volumes
autoPtr<volScalarField> rx_; autoPtr<volScalarField> rx_;
//- Ratio between sucessive class widths //- Ratio between successive class widths
autoPtr<volScalarField> rdx_; autoPtr<volScalarField> rdx_;
//- Zeroeth order models //- Zeroeth order models

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,7 +26,7 @@ Class
Description Description
Contact-angle boundary condition for multi-phase interface-capturing Contact-angle boundary condition for multi-phase interface-capturing
simulations. Used in conjuction with multiphaseSystem. simulations. Used in conjunction with multiphaseSystem.
SourceFiles SourceFiles
alphaContactAngleFvPatchScalarField.C alphaContactAngleFvPatchScalarField.C
@ -65,7 +65,7 @@ public:
//- Limiting advancing contact angle //- Limiting advancing contact angle
scalar thetaA_; scalar thetaA_;
//- Limiting receeding contact angle //- Limiting receding contact angle
scalar thetaR_; scalar thetaR_;
@ -100,7 +100,7 @@ public:
else return 180.0 - thetaA_; else return 180.0 - thetaA_;
} }
//- Return the limiting receeding contact angle //- Return the limiting receding contact angle
scalar thetaR(bool matched=true) const scalar thetaR(bool matched=true) const
{ {
if (matched) return thetaR_; if (matched) return thetaR_;

View File

@ -629,7 +629,7 @@ int main(int argc, char *argv[])
#include "createTime.H" #include "createTime.H"
#include "createPolyMesh.H" #include "createPolyMesh.H"
// If nessecary add oldInternalFaces patch // If necessary add oldInternalFaces patch
label newPatchi = addPatch(mesh, "oldInternalFaces"); label newPatchi = addPatch(mesh, "oldInternalFaces");

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -927,7 +927,7 @@ int main(int argc, char *argv[])
fluentGroupToFoamPatch.insert("fan"); fluentGroupToFoamPatch.insert("fan");
// Create intial empty polyMesh // Create initial empty polyMesh
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
polyMesh mesh polyMesh mesh

View File

@ -13,7 +13,7 @@ Notes for fluentMeshToFoam with zone preservation
Writes all regions to cellZones preserving Fluent names Writes all regions to cellZones preserving Fluent names
Writes all region internal face to faceZones preserving Fluent names Writes all region internal face to faceZones preserving Fluent names
lines: 1545 - 1667 lines: 1545 - 1667
Zones are usefull for porous media and MRF calculations Zones are useful for porous media and MRF calculations
2. Zone Access 2. Zone Access
- Zones are simple lists of label lists that can be accessed from polyMesh - Zones are simple lists of label lists that can be accessed from polyMesh

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -1184,7 +1184,7 @@ int main(int argc, char *argv[])
patchPhysicalTypes patchPhysicalTypes
); );
//dont write mesh yet, otherwise preservePatchTypes will be broken //don't write mesh yet, otherwise preservePatchTypes will be broken
//and zones wont be written //and zones wont be written
//checkmesh done after patch addition as well //checkmesh done after patch addition as well
Info<< "done." << endl; Info<< "done." << endl;
@ -1193,7 +1193,7 @@ int main(int argc, char *argv[])
Info<< endl << "Building boundary and internal patches." << endl; Info<< endl << "Building boundary and internal patches." << endl;
//adding patches after mesh construction allows topological checks //adding patches after mesh construction allows topological checks
//on whether a patch is internal or external, something fluent //on whether a patch is internal or external, something fluent
//doesnt seem to mind //doesn't seem to mind
// Make boundary patches // Make boundary patches

View File

@ -363,7 +363,7 @@ if
if (pFaces[LINER][0].size() != newLinerFaces.size()) if (pFaces[LINER][0].size() != newLinerFaces.size())
{ {
Info<< "Transfered " << pFaces[LINER][0].size() - newLinerFaces.size() Info<< "Transferred " << pFaces[LINER][0].size() - newLinerFaces.size()
<< " faces from liner region to cylinder head" << endl; << " faces from liner region to cylinder head" << endl;
pFaces[LINER][0] = newLinerFaces; pFaces[LINER][0] = newLinerFaces;
} }
@ -392,7 +392,7 @@ if
if (pFaces[CYLINDERHEAD][0].size() != newCylinderHeadFaces.size()) if (pFaces[CYLINDERHEAD][0].size() != newCylinderHeadFaces.size())
{ {
Info<< "Transfered faces from cylinder-head region to linder" << endl; Info<< "Transferred faces from cylinder-head region to linder" << endl;
pFaces[CYLINDERHEAD][0] = newCylinderHeadFaces; pFaces[CYLINDERHEAD][0] = newCylinderHeadFaces;
} }
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -126,7 +126,7 @@ public:
//- Square of span //- Square of span
scalar span2_; scalar span2_;
//- Minumum edge-length of the cell size below which protusions //- Minimum edge-length of the cell size below which protusions
// through the surface are not split // through the surface are not split
scalar minEdgeLen_; scalar minEdgeLen_;
@ -140,7 +140,7 @@ public:
//- Square of maxNotchLen //- Square of maxNotchLen
scalar maxNotchLen2_; scalar maxNotchLen2_;
//- The minimum distance alowed between a dual-cell vertex //- The minimum distance allowed between a dual-cell vertex
// and the surface before a point-pair is introduced // and the surface before a point-pair is introduced
scalar minNearPointDist_; scalar minNearPointDist_;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -106,7 +106,7 @@ class backgroundMeshDecomposition
//- Random number generator //- Random number generator
Random& rndGen_; Random& rndGen_;
//- Mesh stored on for this processor, specifiying the domain that it //- Mesh stored on for this processor, specifying the domain that it
// is responsible for. // is responsible for.
fvMesh mesh_; fvMesh mesh_;

View File

@ -532,7 +532,7 @@ void Foam::conformalVoronoiMesh::createExternalEdgePointGroup
); );
// Insert the slave points by reflecting refPt in both faces. // Insert the slave points by reflecting refPt in both faces.
// with each slave refering to the master // with each slave referring to the master
Foam::point reflectedA = refPt + 2*ppDist*nA; Foam::point reflectedA = refPt + 2*ppDist*nA;
pts.append pts.append

View File

@ -460,7 +460,7 @@ void syncPoints
} }
//- Note: hasTransformation is only used for warning messages so //- Note: hasTransformation is only used for warning messages so
// reduction not strictly nessecary. // reduction not strictly necessary.
//reduce(hasTransformation, orOp<bool>()); //reduce(hasTransformation, orOp<bool>());
// Synchronize multiple shared points. // Synchronize multiple shared points.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -94,13 +94,13 @@ public:
return mirrorMeshPtr_(); return mirrorMeshPtr_();
} }
//- Mirrorred to original cell //- Mirrored to original cell
const labelList& cellMap() const const labelList& cellMap() const
{ {
return cellMapPtr_(); return cellMapPtr_();
} }
//- Mirrorred to original point //- Mirrored to original point
const labelList& pointMap() const const labelList& pointMap() const
{ {
return pointMapPtr_(); return pointMapPtr_();

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -81,7 +81,7 @@ int main(int argc, char *argv[])
// Set the precision of the points data to 10 // Set the precision of the points data to 10
IOstream::defaultPrecision(max(10u, IOstream::defaultPrecision())); IOstream::defaultPrecision(max(10u, IOstream::defaultPrecision()));
// Generate the mirrorred mesh // Generate the mirrored mesh
const fvMesh& mMesh = mesh.mirrorMesh(); const fvMesh& mMesh = mesh.mirrorMesh();
const_cast<fvMesh&>(mMesh).setInstance(mesh.facesInstance()); const_cast<fvMesh&>(mMesh).setInstance(mesh.facesInstance());

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -441,7 +441,7 @@ int main(int argc, char *argv[])
const word& name = sprayFields[fieldi]; const word& name = sprayFields[fieldi];
// Note: try the various field types. Make sure to // Note: try the various field types. Make sure to
// exit once sucessful conversion to avoid re-read // exit once successful conversion to avoid re-read
// converted file. // converted file.
if if

View File

@ -383,7 +383,7 @@ int main(int argc, char *argv[])
} }
} }
} }
else if (nProcs && !region) else if (nProcs && !region && !decomposeFieldsOnly)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "Case is already decomposed with " << nProcs << "Case is already decomposed with " << nProcs

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -570,7 +570,7 @@ int main(int argc, char *argv[])
// Create 0 sized mesh to do all the generation of zero sized // Create 0 sized mesh to do all the generation of zero sized
// fields on processors that have zero sized meshes. Note that this is // fields on processors that have zero sized meshes. Note that this is
// only nessecary on master but since polyMesh construction with // only necessary on master but since polyMesh construction with
// Pstream::parRun does parallel comms we have to do it on all // Pstream::parRun does parallel comms we have to do it on all
// processors // processors
autoPtr<fvMeshSubset> subsetterPtr; autoPtr<fvMeshSubset> subsetterPtr;

View File

@ -185,9 +185,9 @@ enum {
XF_RF_DATA_WALL_GRID_VELOCITY = 181 , XF_RF_DATA_WALL_GRID_VELOCITY = 181 ,
XF_RF_DATA_SV_T_AUX = 190 , /* auxilliary temperature XF_RF_DATA_SV_T_AUX = 190 , /* auxiliary temperature
for particles */ for particles */
XF_RF_DATA_SV_T_AP_AUX = 191 , /* auxilliary ap XF_RF_DATA_SV_T_AP_AUX = 191 , /* auxiliary ap
coefficient for particles */ coefficient for particles */
XF_RF_DATA_TOTAL_PRESSURE=192, XF_RF_DATA_TOTAL_PRESSURE=192,
XF_RF_DATA_TOTAL_TEMPERATURE=193, XF_RF_DATA_TOTAL_TEMPERATURE=193,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -366,7 +366,7 @@ int main(int argc, char *argv[])
print(" volTensorFields :", Info, vtf); print(" volTensorFields :", Info, vtf);
// Construct pointMesh only if nessecary since constructs edge // Construct pointMesh only if necessary since constructs edge
// addressing (expensive on polyhedral meshes) // addressing (expensive on polyhedral meshes)
if (noPointValues) if (noPointValues)
{ {

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -604,7 +604,7 @@ int main(int argc, char *argv[])
+ vtf.size(); + vtf.size();
// Construct pointMesh only if nessecary since constructs edge // Construct pointMesh only if necessary since constructs edge
// addressing (expensive on polyhedral meshes) // addressing (expensive on polyhedral meshes)
if (noPointValues) if (noPointValues)
{ {

View File

@ -77,7 +77,7 @@ The process for producing a user defined reader is:
for each machine type. Operating system level differences could cause for each machine type. Operating system level differences could cause
you to have to modify these makefiles slightly, but the general you to have to modify these makefiles slightly, but the general
process is very straightforward. Note that for the SGI environment you process is very straightforward. Note that for the SGI environment you
must compile with the following flags to ensure compatability with must compile with the following flags to ensure compatibility with
the EnSight server: Irix_5.3 -mips1 the EnSight server: Irix_5.3 -mips1
Irix_6.2 -mips2 Irix_6.2 -mips2
Irix_6.5_n32 -mips3 Irix_6.5_n32 -mips3
@ -913,7 +913,7 @@ USERD_get_element_label_status
on a part by part basis, if TRUE status is returned here. on a part by part basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!

View File

@ -77,7 +77,7 @@ The process for producing a user defined reader is:
for each machine type. Operating system level differences could cause for each machine type. Operating system level differences could cause
you to have to modify these makefiles slightly, but the general you to have to modify these makefiles slightly, but the general
process is very straightforward. Note that for the SGI environment you process is very straightforward. Note that for the SGI environment you
must compile with the following flags to ensure compatability with must compile with the following flags to ensure compatibility with
the EnSight server: Irix_5.3 -mips1 the EnSight server: Irix_5.3 -mips1
Irix_6.2 -mips2 Irix_6.2 -mips2
Irix_6.5_n32 -mips3 Irix_6.5_n32 -mips3
@ -913,7 +913,7 @@ USERD_get_element_label_status
on a part by part basis, if TRUE status is returned here. on a part by part basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!

View File

@ -14,7 +14,7 @@ You should consider it if:
- you want to provide your own "border" elements (as opposed to EnSight's - you want to provide your own "border" elements (as opposed to EnSight's
computation of them) computation of them)
As an indication of the differences that might be realized in efficency, As an indication of the differences that might be realized in efficiency,
consider the following comparison on an unstructured model consisting of: consider the following comparison on an unstructured model consisting of:
1,639,058 nodes 1,639,058 nodes
@ -95,7 +95,7 @@ EnSight must do a fair amount of work to get data provided in the manner
described above into the form that it uses internally. There is mapping that described above into the form that it uses internally. There is mapping that
has to be setup and maintained between the global arrays and the local part has to be setup and maintained between the global arrays and the local part
arrays so that updating over time can be accomplished efficiently. There is arrays so that updating over time can be accomplished efficiently. There is
hashing that is required in order to deal efficently with node ids. hashing that is required in order to deal efficiently with node ids.
All of this leads to a considerable amount of temporary memory and processing, All of this leads to a considerable amount of temporary memory and processing,
in order to get a model read into EnSight. in order to get a model read into EnSight.
@ -115,7 +115,7 @@ API 2.0 deals with:
API 2.0 requires that the coordinates and corresponding nodal variables be API 2.0 requires that the coordinates and corresponding nodal variables be
provided per part. This eliminates the global to local mapping with all its provided per part. This eliminates the global to local mapping with all its
associated temporary memory and processing time. The connectivity of the associated temporary memory and processing time. The connectivity of the
elements in each part reference the node indicies of its own (one-based) part elements in each part reference the node indices of its own (one-based) part
coordinate array. The connectivity of the elements do not reference the nodes coordinate array. The connectivity of the elements do not reference the nodes
according to node ids. Node ids (and element ids for that matter) are purely according to node ids. Node ids (and element ids for that matter) are purely
labels for screen display and for query operations within EnSight. This labels for screen display and for query operations within EnSight. This
@ -354,7 +354,7 @@ USERD_get_element_ids_for_part USERD_get_part_element_ids_by_type
(Required) -> USERD_get_border_availability (Required) -> USERD_get_border_availability
(Can be a dummy) -> USERD_get_border_elements_by_type (Can be a dummy) -> USERD_get_border_elements_by_type
transient model allocation efficency: transient model allocation efficiency:
(Can be a dummy) -> USERD_get_maxsize_info (Can be a dummy) -> USERD_get_maxsize_info
Possible use with Server-of-Servers: Possible use with Server-of-Servers:

View File

@ -207,7 +207,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -1074,7 +1074,7 @@ USERD_get_element_label_status
on a part by part basis, if TRUE status is returned here. on a part by part basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
@ -2009,5 +2009,3 @@ USERD_stop_part_building
---- end of doucment ---- ---- end of doucment ----

View File

@ -166,7 +166,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -998,7 +998,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
-------------------------------------------------------------------- --------------------------------------------------------------------
@ -2213,7 +2213,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -2222,7 +2222,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -138,7 +138,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -1074,7 +1074,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
* Starting at API 2.01: * Starting at API 2.01:
-------------------- --------------------
@ -2462,7 +2462,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -2471,7 +2471,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -103,7 +103,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -1099,7 +1099,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
* Starting at API 2.01: * Starting at API 2.01:
-------------------- --------------------
@ -3326,7 +3326,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -3335,7 +3335,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -142,7 +142,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -359,7 +359,7 @@ USERD_exit_routine cleanup upon exit routine
--------------------------- ---------------------------
Optional Extra GUI Info Optional Extra GUI Info
Adds Toggle(s), Pulldown(s) Field(s) Adds Toggle(s), Pulldown(s) Field(s)
that can be used for additonal input that can be used for additional input
--------------------------- ---------------------------
USERD_get_extra_gui_numbers Gets the number of toggles, pulldowns and fields USERD_get_extra_gui_numbers Gets the number of toggles, pulldowns and fields
USERD_get_extra_gui_defaults Gets the default values for the GUI members USERD_get_extra_gui_defaults Gets the default values for the GUI members
@ -1216,7 +1216,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
* Starting at API 2.01: * Starting at API 2.01:
-------------------- --------------------
@ -3451,7 +3451,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -3460,7 +3460,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -150,7 +150,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -1186,7 +1186,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
* Starting at API 2.01: * Starting at API 2.01:
-------------------- --------------------
@ -3421,7 +3421,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -3430,7 +3430,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -164,7 +164,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -1200,7 +1200,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
* Starting at API 2.01: * Starting at API 2.01:
-------------------- --------------------
@ -3435,7 +3435,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -3444,7 +3444,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -168,7 +168,7 @@ The process for producing a user defined reader is:
If you choose to use a different build environment for your reader, If you choose to use a different build environment for your reader,
you should take care to use compatible compilation flags to ensure you should take care to use compatible compilation flags to ensure
compatibilty with the EnSight executables, most notably on the SGI compatibility with the EnSight executables, most notably on the SGI
and HP-UX 11.0 platforms, which should use the following flags: and HP-UX 11.0 platforms, which should use the following flags:
sgi_6.2_o32: -mips2 sgi_6.2_o32: -mips2
@ -1204,7 +1204,7 @@ USERD_get_element_label_status
on a per part, per type basis, if TRUE status is returned here. on a per part, per type basis, if TRUE status is returned here.
For structured parts, EnSight will assign ids if you return a For structured parts, EnSight will assign ids if you return a
status of TRUE here. You cannot assign them youself!! status of TRUE here. You cannot assign them yourself!!
* Starting at API 2.01: * Starting at API 2.01:
-------------------- --------------------
@ -3439,7 +3439,7 @@ USERD_get_var_by_component
(0 - 5 if Z_TENSOR) (0 - 5 if Z_TENSOR)
(0 - 8 if Z_TENSOR9) (0 - 8 if Z_TENSOR9)
* 6 Symmetric Indicies, 0:5 * * 6 Symmetric Indices, 0:5 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *
@ -3448,7 +3448,7 @@ USERD_get_var_by_component
* | 33 | | 2 | * * | 33 | | 2 | *
* 9 General Indicies, 0:8 * * 9 General Indices, 0:8 *
* ---------------------------- * * ---------------------------- *
* | 11 12 13 | | 0 3 4 | * * | 11 12 13 | | 0 3 4 | *
* | | | | * * | | | | *

View File

@ -799,7 +799,7 @@ USERD_get_part_element_ids_by_type_in_buffers(int part_number,
* (0 - 5 if Z_TENSOR) * (0 - 5 if Z_TENSOR)
* (0 - 8 if Z_TENSOR9) * (0 - 8 if Z_TENSOR9)
* *
* * 6 Symmetric Indicies, 0:5 * * * 6 Symmetric Indices, 0:5 *
* * ---------------------------- * * * ---------------------------- *
* * | 11 12 13 | | 0 3 4 | * * * | 11 12 13 | | 0 3 4 | *
* * | | | | * * * | | | | *
@ -807,7 +807,7 @@ USERD_get_part_element_ids_by_type_in_buffers(int part_number,
* * | | | | * * * | | | | *
* * | 33 | | 2 | * * * | 33 | | 2 | *
* *
* * 9 General Indicies, 0:8 * * * 9 General Indices, 0:8 *
* * ---------------------------- * * * ---------------------------- *
* * | 11 12 13 | | 0 1 2 | * * * | 11 12 13 | | 0 1 2 | *
* * | | | | * * * | | | | *

View File

@ -93,7 +93,7 @@ int USERD_set_filenames
fieldNames = objects.names(); fieldNames = objects.names();
// because of the spray being a 'field' ... // because of the spray being a 'field' ...
// get the availabe number of variables and // get the available number of variables and
// check for type (scalar/vector/tensor) // check for type (scalar/vector/tensor)
label nVar = 0; label nVar = 0;

View File

@ -365,7 +365,7 @@ enum z_matset_via_file_type
#define DATA_TARGET_MASK 0x0000000f #define DATA_TARGET_MASK 0x0000000f
/* --------------------------------------- /* ---------------------------------------
* Failed elemenet enums * Failed element enums
* --------------------------------------- */ * --------------------------------------- */
enum z_element_failure_criteria enum z_element_failure_criteria

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -61,10 +61,10 @@ Description
@endverbatim @endverbatim
When the operation is peformed - for union, all of the edges generates where When the operation is performed - for union, all of the edges generates
one surfaces cuts another are all "internal" for union, and "external" for where one surfaces cuts another are all "internal" for union, and "external"
intersection, b - a and a - b. This has been assumed, formal (dis)proof is for intersection, b - a and a - b. This has been assumed, formal (dis)proof
invited. is invited.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -681,7 +681,7 @@ static void getSplitVerts
} }
else else
{ {
// Copy upto (but not including) e[1] // Copy up to (but not including) e[1]
label i1 = findIndex(orderedVerts, e[1]); label i1 = findIndex(orderedVerts, e[1]);
splitVerts = SubList<label>(orderedVerts, i1, 0); splitVerts = SubList<label>(orderedVerts, i1, 0);
splitWeights = SubList<scalar>(orderedWeights, i1, 0); splitWeights = SubList<scalar>(orderedWeights, i1, 0);
@ -714,7 +714,7 @@ static void getSplitVerts
{ {
// Reverse. // Reverse.
// Copy upto (but not including) e[0] // Copy up to (but not including) e[0]
label i0 = findIndex(orderedVerts, e[0]); label i0 = findIndex(orderedVerts, e[0]);
splitVerts = SubList<label>(orderedVerts, i0, 0); splitVerts = SubList<label>(orderedVerts, i0, 0);

View File

@ -40,7 +40,7 @@ Quaternion model_orientation; // orientation of bunny
// We just set up this system here in this module // We just set up this system here in this module
// so that we could retrieve the model at any desired vertex count. // so that we could retrieve the model at any desired vertex count.
// Therefore if this part of the program confuses you, then // Therefore if this part of the program confuses you, then
// dont worry about it. It might help to look over the progmesh.cpp // don't worry about it. It might help to look over the progmesh.cpp
// module first. // module first.
// Map() // Map()
@ -93,7 +93,7 @@ void DrawModelTriangles() {
// could have been made into a "break" statement. // could have been made into a "break" statement.
if(p0==p1 || p1==p2 || p2==p0) continue; if(p0==p1 || p1==p2 || p2==p0) continue;
renderpolycount++; renderpolycount++;
// if we are not currenly morphing between 2 levels of detail // if we are not currently morphing between 2 levels of detail
// (i.e. if morph=1.0) then q0,q1, and q2 are not necessary. // (i.e. if morph=1.0) then q0,q1, and q2 are not necessary.
int q0= Map(p0,(int)(render_num*lodbase)); int q0= Map(p0,(int)(render_num*lodbase));
int q1= Map(p1,(int)(render_num*lodbase)); int q1= Map(p1,(int)(render_num*lodbase));

View File

@ -273,7 +273,7 @@ void AddFaces(List<tridata> &tri){
Vertex *MinimumCostEdge(){ Vertex *MinimumCostEdge(){
// Find the edge that when collapsed will affect model the least. // Find the edge that when collapsed will affect model the least.
// This funtion actually returns a Vertex, the second vertex // This function actually returns a Vertex, the second vertex
// of the edge (collapse candidate) is stored in the vertex data. // of the edge (collapse candidate) is stored in the vertex data.
// Serious optimization opportunity here: this function currently // Serious optimization opportunity here: this function currently
// does a sequential search through an unsorted list :-( // does a sequential search through an unsorted list :-(

View File

@ -14,7 +14,7 @@ float magnitude(Vector v) {
Vector normalize(Vector v) { Vector normalize(Vector v) {
float d=magnitude(v); float d=magnitude(v);
if (d==0) { if (d==0) {
printf("Cant normalize ZERO vector\n"); printf("Can't normalize ZERO vector\n");
assert(0); assert(0);
d=0.1f; d=0.1f;
} }

View File

@ -76,7 +76,7 @@ void CalcFPSDeltaT(){
} }
DeltaT = (float)(current-last)/CLOCKS_PER_SEC; DeltaT = (float)(current-last)/CLOCKS_PER_SEC;
if(current==last) { if(current==last) {
DeltaT = 0.1f/CLOCKS_PER_SEC; // it just cant be 0 DeltaT = 0.1f/CLOCKS_PER_SEC; // it just can't be 0
} }
// if(DeltaT>1.0) DeltaT=1.0; // if(DeltaT>1.0) DeltaT=1.0;
FPS = (float)rv; FPS = (float)rv;

View File

@ -242,7 +242,7 @@ label markBorderPoints
} }
// Get minumum length of edges connected to pointi // Get minimum length of edges connected to pointi
// Serves to get some local length scale. // Serves to get some local length scale.
scalar minEdgeLen(const triSurface& surf, const label pointi) scalar minEdgeLen(const triSurface& surf, const label pointi)
{ {

View File

@ -1,14 +1,14 @@
EXTENDED THIRD MILLENIUM IDEAL GAS AND CONDENSED PHASE THERMOCHEMICAL DATABASE EXTENDED THIRD MILLENNIUM IDEAL GAS AND CONDENSED PHASE THERMOCHEMICAL DATABASE
FOR COMBUSTION WITH UPDATES FROM ACTIVE THERMOCHEMICAL TABLES FOR COMBUSTION WITH UPDATES FROM ACTIVE THERMOCHEMICAL TABLES
Authors: Elke Goos, Alexander Burcat and Branko Ruscic. Authors: Elke Goos, Alexander Burcat and Branko Ruscic.
It is strictly forbiden to include this database as is or parts of it in any It is strictly forbidden to include this database as is or parts of it in any
commercial software firmware or hardware without permission from the authors. commercial software firmware or hardware without permission from the authors.
Contact: Elke.Goos@dlr.de Contact: Elke.Goos@dlr.de
*WARNING***The original 7-coeficient polynomials can accept molecules *WARNING***The original 7-coeficient polynomials can accept molecules
containing only four different elements. The new CHEMKIN program was changed to containing only four different elements. The new CHEMKIN program was changed to
accept polynomials with 5 diferent elements. See the CHEMKIN manual. accept polynomials with 5 different elements. See the CHEMKIN manual.
Where the fifth element exist, the new Chemkin convention was folowed. Where the fifth element exist, the new Chemkin convention was folowed.
THERMO ALL THERMO ALL

View File

@ -1,15 +1,15 @@
/* /*
EXTENDED THIRD MILLENIUM IDEAL GAS AND CONDENSED PHASE THERMOCHEMICAL DATABASE EXTENDED THIRD MILLENNIUM IDEAL GAS AND CONDENSED PHASE THERMOCHEMICAL DATABASE
FOR COMBUSTION WITH UPDATES FROM ACTIVE THERMOCHEMICAL TABLES FOR COMBUSTION WITH UPDATES FROM ACTIVE THERMOCHEMICAL TABLES
Authors: Elke Goos, Alexander Burcat and Branko Ruscic. Authors: Elke Goos, Alexander Burcat and Branko Ruscic.
It is strictly forbiden to include this database as is or parts of it in any It is strictly forbidden to include this database as is or parts of it in any
commercial software firmware or hardware without permission from the authors. commercial software firmware or hardware without permission from the authors.
Contact: Elke.Goos@dlr.de Contact: Elke.Goos@dlr.de
*WARNING***The original 7-coeficient polynomials can accept molecules *WARNING***The original 7-coeficient polynomials can accept molecules
containing only four different elements. The new CHEMKIN program was changed to containing only four different elements. The new CHEMKIN program was changed to
accept polynomials with 5 diferent elements. See the CHEMKIN manual. accept polynomials with 5 different elements. See the CHEMKIN manual.
Where the fifth element exist, the new Chemkin convention was folowed. Where the fifth element exist, the new Chemkin convention was folowed.
This file was generated from therm.dat provided in this directory. This file was generated from therm.dat provided in this directory.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -186,7 +186,7 @@ public:
inline void resizeMatrix(scalarSquareMatrix& m) const; inline void resizeMatrix(scalarSquareMatrix& m) const;
//- Solve the ODE system as far as possible upto dxTry //- Solve the ODE system as far as possible up to dxTry
// adjusting the step as necessary to provide a solution within // adjusting the step as necessary to provide a solution within
// the specified tolerance. // the specified tolerance.
// Update the state and return an estimate for the next step in dxTry // Update the state and return an estimate for the next step in dxTry
@ -197,7 +197,7 @@ public:
scalar& dxTry scalar& dxTry
) const; ) const;
//- Solve the ODE system as far as possible upto dxTry //- Solve the ODE system as far as possible up to dxTry
// adjusting the step as necessary to provide a solution within // adjusting the step as necessary to provide a solution within
// the specified tolerance. // the specified tolerance.
// Update the state and return an estimate for the next step in dxTry // Update the state and return an estimate for the next step in dxTry

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -259,7 +259,7 @@ Foam::fileName Foam::cwd()
} }
else if(errno == ERANGE) else if(errno == ERANGE)
{ {
// Increment path length upto the pathLengthMax limit // Increment path length up to the pathLengthMax limit
if if
( (
(pathLengthLimit += POSIX::pathLengthChunk) (pathLengthLimit += POSIX::pathLengthChunk)
@ -687,7 +687,7 @@ Foam::fileNameList Foam::readDir
{ {
fileName fName(list->d_name); fileName fName(list->d_name);
// ignore files begining with ., i.e. '.', '..' and '.*' // ignore files beginning with ., i.e. '.', '..' and '.*'
if (fName.size() && fName[0] != '.') if (fName.size() && fName[0] != '.')
{ {
word fExt = fName.ext(); word fExt = fName.ext();

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,9 +25,9 @@ Class
Foam::sigInt Foam::sigInt
Description Description
Signal handler for INT interupt. Signal handler for INT interrupt.
The standard interupt handler is overridden to ensure that the The standard interrupt handler is overridden to ensure that the
runningJob file is removed. runningJob file is removed.
See also See also

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,9 +25,9 @@ Class
Foam::sigQuit Foam::sigQuit
Description Description
Signal handler for QUIT interupt. Signal handler for QUIT interrupt.
The standard interupt handler is overridden to ensure that the The standard interrupt handler is overridden to ensure that the
runningJob file is removed. runningJob file is removed.
See also See also

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,9 +25,9 @@ Class
Foam::sigSegv Foam::sigSegv
Description Description
Signal handler for SEGV interupt. Signal handler for SEGV interrupt.
The standard interupt handler is overridden to ensure that the The standard interrupt handler is overridden to ensure that the
runningJob file is removed. runningJob file is removed.
See also See also

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ Class
Foam::sigStopAtWriteNow Foam::sigStopAtWriteNow
Description Description
Signal handler for interupt defined by Signal handler for interrupt defined by
OptimisationSwitches::stopAtWriteNowSignal OptimisationSwitches::stopAtWriteNowSignal
Write and stop the job. Write and stop the job.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ Class
Foam::sigWriteNow Foam::sigWriteNow
Description Description
Signal handler for interupt defined by OptimisationSwitches::writeNowSignal Signal handler for interrupt defined by OptimisationSwitches::writeNowSignal
Write once and continue. Write once and continue.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -67,7 +67,7 @@ SourceFiles
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//- Check it a timeout has occured //- Check it a timeout has occurred
// keep setjmp in same stack frame so no function calls // keep setjmp in same stack frame so no function calls
#define timedOut(x) \ #define timedOut(x) \
(((x).newTimeOut_ > 0) ? setjmp(Foam::timer::envAlarm) : false) (((x).newTimeOut_ > 0) ? setjmp(Foam::timer::envAlarm) : false)

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -158,7 +158,7 @@ List<OutList> invertManyToMany(const label len, const UList<InList>& in)
//- Create identity map (map[i] == i) of given length //- Create identity map (map[i] == i) of given length
labelList identity(const label len); labelList identity(const label len);
//- Find first occurence of given element and return index, //- Find first occurrence of given element and return index,
// return -1 if not found. Linear search. // return -1 if not found. Linear search.
template<class ListType> template<class ListType>
label findIndex label findIndex
@ -168,7 +168,7 @@ label findIndex
const label start=0 const label start=0
); );
//- Find all occurences of given element. Linear search. //- Find all occurrences of given element. Linear search.
template<class ListType> template<class ListType>
labelList findIndices labelList findIndices
( (
@ -208,7 +208,7 @@ template<class ListType>
label findMin(const ListType&, const label start=0); label findMin(const ListType&, const label start=0);
//- Find first occurence of given element in sorted list and return index, //- Find first occurrence of given element in sorted list and return index,
// return -1 if not found. Binary search. // return -1 if not found. Binary search.
template<class ListType> template<class ListType>
label findSortedIndex label findSortedIndex

View File

@ -311,11 +311,11 @@ public:
// Check // Check
//- Check IOstream status for given operation //- Check IOstream status for given operation
// print IOstream state if error has occured // print IOstream state if error has occurred
virtual bool check(const char* operation) const; virtual bool check(const char* operation) const;
//- Check IOstream status for given operation //- Check IOstream status for given operation
// print IOstream state if error has occured and exit // print IOstream state if error has occurred and exit
void fatalCheck(const char* operation) const; void fatalCheck(const char* operation) const;
//- Return true if stream has been opened //- Return true if stream has been opened

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -97,7 +97,7 @@ Foam::token::compound& Foam::token::transferCompoundToken(const Istream& is)
if (compoundTokenPtr_->empty()) if (compoundTokenPtr_->empty())
{ {
FatalIOErrorInFunction(is) FatalIOErrorInFunction(is)
<< "compound has already been transfered from token\n " << "compound has already been transferred from token\n "
<< info() << abort(FatalIOError); << info() << abort(FatalIOError);
} }
else else

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -138,7 +138,7 @@ public:
// if registerCopy is true // if registerCopy is true
regIOobject(const regIOobject&, bool registerCopy); regIOobject(const regIOobject&, bool registerCopy);
//- Construct as copy with new name, transfering registry registration //- Construct as copy with new name, transferring registry registration
// to copy as specified // to copy as specified
regIOobject(const word& newName, const regIOobject&, bool registerCopy); regIOobject(const word& newName, const regIOobject&, bool registerCopy);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -408,7 +408,7 @@ Foam::Istream& Foam::dimensionSet::read
{ {
multiplier = 1.0; multiplier = 1.0;
// Read begining of dimensionSet // Read beginning of dimensionSet
token startToken(is); token startToken(is);
if (startToken != token::BEGIN_SQR) if (startToken != token::BEGIN_SQR)
@ -503,7 +503,7 @@ Foam::Istream& Foam::dimensionSet::read
{ {
multiplier = 1.0; multiplier = 1.0;
// Read begining of dimensionSet // Read beginning of dimensionSet
token startToken(is); token startToken(is);
if (startToken != token::BEGIN_SQR) if (startToken != token::BEGIN_SQR)

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -207,7 +207,7 @@ public:
// This function is added to overide the hack in pointPatchField.H // This function is added to overide the hack in pointPatchField.H
// which enables simple backward compatability with verions using // which enables simple backward compatibility with verions using
// referenceLevel in GeometicField // referenceLevel in GeometicField
template<class Type> template<class Type>
tmp<Field<Type>> operator+ tmp<Field<Type>> operator+

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -489,7 +489,7 @@ public:
}; };
// This function is added as a hack to enable simple backward compatability // This function is added as a hack to enable simple backward compatibility
// with verions using referenceLevel in GeometicField // with verions using referenceLevel in GeometicField
template<class Type> template<class Type>
const pointPatchField<Type>& operator+ const pointPatchField<Type>& operator+

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield |2011 OpenFOAM: The Open Source CFD Toolbox \\ / F ield |2011 OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -140,7 +140,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
} }
} }
// Construct (but not necesarily returned) // Construct (but not necessarily returned)
autoPtr<pointPatchField<Type>> pfPtr(cstrIter()(p, iF, dict)); autoPtr<pointPatchField<Type>> pfPtr(cstrIter()(p, iF, dict));
if if

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -598,7 +598,7 @@ bool Foam::fileOperations::uncollatedFileOperation::read
if (masterOnly && Pstream::parRun()) if (masterOnly && Pstream::parRun())
{ {
// Master reads headerclassname from file. Make sure this gets // Master reads headerclassname from file. Make sure this gets
// transfered as well as contents. // transferred as well as contents.
Pstream::scatter(io.headerClassName()); Pstream::scatter(io.headerClassName());
Pstream::scatter(io.note()); Pstream::scatter(io.note());

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -144,7 +144,7 @@ public:
const tmp<Field<Type>>& tff const tmp<Field<Type>>& tff
) const; ) const;
//- Do what is neccessary if the mesh has moved //- Do what is necessary if the mesh has moved
bool movePoints(); bool movePoints();
}; };

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ Class
Foam::uniformInterpolationTable Foam::uniformInterpolationTable
Description Description
Table with uniform interval in independant variable, with linear Table with uniform interval in independent variable, with linear
interpolation interpolation
Example usage (scalar): values specified within a dictionary: Example usage (scalar): values specified within a dictionary:

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -32,7 +32,7 @@ Description
Addressing arrays must be supplied for the upper and lower triangles. Addressing arrays must be supplied for the upper and lower triangles.
Note Note
It might be better if this class were organised as a hierachy starting It might be better if this class were organised as a hierarchy starting
from an empty matrix, then deriving diagonal, symmetric and asymmetric from an empty matrix, then deriving diagonal, symmetric and asymmetric
matrices. matrices.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -135,7 +135,7 @@ Foam::LduMatrix<Type, DType, LUType>::faceH(const Field<Type>& psi) const
const Field<LUType>& Lower = const_cast<const LduMatrix&>(*this).lower(); const Field<LUType>& Lower = const_cast<const LduMatrix&>(*this).lower();
const Field<LUType>& Upper = const_cast<const LduMatrix&>(*this).upper(); const Field<LUType>& Upper = const_cast<const LduMatrix&>(*this).upper();
// Take refereces to addressing // Take references to addressing
const unallocLabelList& l = lduAddr().lowerAddr(); const unallocLabelList& l = lduAddr().lowerAddr();
const unallocLabelList& u = lduAddr().upperAddr(); const unallocLabelList& u = lduAddr().upperAddr();

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ Class
Foam::SmoothSolver Foam::SmoothSolver
Description Description
Iterative solver for symmetric and assymetric matrices which uses a Iterative solver for symmetric and asymmetric matrices which uses a
run-time selected smoother e.g. GaussSeidel to converge the solution to run-time selected smoother e.g. GaussSeidel to converge the solution to
the required tolerance. To improve efficiency, the residual is evaluated the required tolerance. To improve efficiency, the residual is evaluated
after every nSweeps smoothing iterations. after every nSweeps smoothing iterations.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -31,7 +31,7 @@ Description
Addressing arrays must be supplied for the upper and lower triangles. Addressing arrays must be supplied for the upper and lower triangles.
It might be better if this class were organised as a hierachy starting It might be better if this class were organised as a hierarchy starting
from an empty matrix, then deriving diagonal, symmetric and asymmetric from an empty matrix, then deriving diagonal, symmetric and asymmetric
matrices. matrices.

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -161,7 +161,7 @@ public:
//- Assignment to pointer changing this tmp to a temporary T //- Assignment to pointer changing this tmp to a temporary T
inline void operator=(T*); inline void operator=(T*);
//- Assignment transfering the temporary T to this tmp //- Assignment transferring the temporary T to this tmp
inline void operator=(const tmp<T>&); inline void operator=(const tmp<T>&);
}; };

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -151,7 +151,7 @@ public:
//- Assignment to pointer changing this tmpNrc to a temporary T //- Assignment to pointer changing this tmpNrc to a temporary T
inline void operator=(T*); inline void operator=(T*);
//- Assignment transfering the temporary T to this tmpNrc //- Assignment transferring the temporary T to this tmpNrc
inline void operator=(const tmpNrc<T>&); inline void operator=(const tmpNrc<T>&);
}; };

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -39,7 +39,7 @@ Description
- procSchedule()[proci] gives per proci - procSchedule()[proci] gives per proci
Does not care whether 'talking' is first send, second receive or maybe Does not care whether 'talking' is first send, second receive or maybe
full swap. This is all responsability of caller. See ProcessorTopology full swap. This is all responsibility of caller. See ProcessorTopology
class for use in scheduling processor boundary swaps. class for use in scheduling processor boundary swaps.
SourceFiles SourceFiles

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -68,7 +68,7 @@ Foam::label Foam::cell::opposingFaceLabel
{ {
bool sharedPoint = false; bool sharedPoint = false;
// Compare every vertex of the current face agains the // Compare every vertex of the current face against the
// vertices of the master face // vertices of the master face
forAll(curFace, pointi) forAll(curFace, pointi)
{ {

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -277,7 +277,7 @@ void Foam::globalMeshData::countSharedEdges
{ {
if (globalFnd() == -1) if (globalFnd() == -1)
{ {
// Second time occurence of this edge. Assign proper // Second time occurrence of this edge. Assign proper
// edge label. // edge label.
globalFnd() = sharedEdgeI++; globalFnd() = sharedEdgeI++;
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -892,7 +892,7 @@ bool Foam::polyBoundaryMesh::checkParallelSync(const bool report) const
Pout<< " ***Problem with boundary patch " << patchi Pout<< " ***Problem with boundary patch " << patchi
<< " named " << bm[patchi].name() << " named " << bm[patchi].name()
<< " of type " << bm[patchi].type() << " of type " << bm[patchi].type()
<< ". The patch seems to be preceeded by processor" << ". The patch seems to be preceded by processor"
<< " patches. This is can give problems." << " patches. This is can give problems."
<< endl; << endl;
} }

View File

@ -1427,7 +1427,7 @@ bool Foam::cyclicPolyPatch::order
ownerPatchPtr_.clear(); ownerPatchPtr_.clear();
// Return false if no change neccesary, true otherwise. // Return false if no change necessary, true otherwise.
forAll(faceMap, facei) forAll(faceMap, facei)
{ {

View File

@ -1204,7 +1204,7 @@ bool Foam::oldCyclicPolyPatch::order
rotation rotation
); );
// Return false if no change neccesary, true otherwise. // Return false if no change necessary, true otherwise.
forAll(faceMap, facei) forAll(faceMap, facei)
{ {

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -99,7 +99,7 @@ class oldCyclicPolyPatch
// Face ordering // Face ordering
//- Find the two parts of the faces of pp using feature edges. //- Find the two parts of the faces of pp using feature edges.
// Returns true if successfull. // Returns true if successful.
bool getGeometricHalves bool getGeometricHalves
( (
const primitivePatch&, const primitivePatch&,

View File

@ -151,7 +151,7 @@ class primitiveMesh
mutable labelListList* cpPtr_; mutable labelListList* cpPtr_;
// On-the-fly edge addresing storage // On-the-fly edge addressing storage
//- Temporary storage for addressing. //- Temporary storage for addressing.
mutable DynamicList<label> labels_; mutable DynamicList<label> labels_;
@ -516,7 +516,7 @@ public:
//- Return faces //- Return faces
virtual const faceList& faces() const = 0; virtual const faceList& faces() const = 0;
//- Face face-owner addresing //- Face face-owner addressing
virtual const labelList& faceOwner() const = 0; virtual const labelList& faceOwner() const = 0;
//- Face face-neighbour addressing //- Face face-neighbour addressing

View File

@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description Description
Calulate the face centres and areas. Calculate the face centres and areas.
Calculate the centre by breaking the face into triangles using the face Calculate the centre by breaking the face into triangles using the face
centre and area-weighted averaging their centres. This method copes with centre and area-weighted averaging their centres. This method copes with

View File

@ -64,7 +64,7 @@ static const doubleScalar doubleScalarRootVSmall = ::sqrt(doubleScalarVSmall);
static const doubleScalar doubleScalarRootGreat = ::sqrt(doubleScalarGreat); static const doubleScalar doubleScalarRootGreat = ::sqrt(doubleScalarGreat);
static const doubleScalar doubleScalarRootSmall = ::sqrt(doubleScalarSmall); static const doubleScalar doubleScalarRootSmall = ::sqrt(doubleScalarSmall);
//- Read whole of buf as a scalar. Return true if succesful. //- Read whole of buf as a scalar. Return true if successful.
inline bool readScalar(const char* buf, doubleScalar& s) inline bool readScalar(const char* buf, doubleScalar& s)
{ {
char* endPtr; char* endPtr;

View File

@ -64,7 +64,7 @@ static const floatScalar floatScalarRootVSmall = ::sqrt(floatScalarVSmall);
static const floatScalar floatScalarRootGreat = ::sqrt(floatScalarGreat); static const floatScalar floatScalarRootGreat = ::sqrt(floatScalarGreat);
static const floatScalar floatScalarRootSmall = ::sqrt(floatScalarSmall); static const floatScalar floatScalarRootSmall = ::sqrt(floatScalarSmall);
//- Read whole of buf as a scalar. Return true if succesful. //- Read whole of buf as a scalar. Return true if successful.
inline bool readScalar(const char* buf, floatScalar& s) inline bool readScalar(const char* buf, floatScalar& s)
{ {
char* endPtr; char* endPtr;

View File

@ -72,7 +72,7 @@ static const longDoubleScalar longDoubleScalarRootGreat
static const longDoubleScalar longDoubleScalarRootSmall static const longDoubleScalar longDoubleScalarRootSmall
= ::sqrtl(longDoubleScalarSmall); = ::sqrtl(longDoubleScalarSmall);
//- Read whole of buf as a scalar. Return true if succesful. //- Read whole of buf as a scalar. Return true if successful.
inline bool readScalar(const char* buf, longDoubleScalar& s) inline bool readScalar(const char* buf, longDoubleScalar& s)
{ {
char* endPtr; char* endPtr;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -31,7 +31,7 @@ Description
A centre() member function which returns the Vector for which it is called A centre() member function which returns the Vector for which it is called
is defined so that point which is a typedef to Vector\<scalar\> behaves as is defined so that point which is a typedef to Vector\<scalar\> behaves as
other shapes in the shape hierachy. other shapes in the shape hierarchy.
SourceFiles SourceFiles
VectorI.H VectorI.H

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -154,7 +154,7 @@ public:
//- Avoid masking the normal std::string replace //- Avoid masking the normal std::string replace
using std::string::replace; using std::string::replace;
//- Replace first occurence of sub-string oldStr with newStr //- Replace first occurrence of sub-string oldStr with newStr
// starting at start // starting at start
string& replace string& replace
( (
@ -163,7 +163,7 @@ public:
size_type start = 0 size_type start = 0
); );
//- Replace all occurences of sub-string oldStr with newStr //- Replace all occurrences of sub-string oldStr with newStr
// starting at start // starting at start
string& replaceAll string& replaceAll
( (
@ -172,7 +172,7 @@ public:
size_type start = 0 size_type start = 0
); );
//- Expand initial tildes and all occurences of environment variables //- Expand initial tildes and all occurrences of environment variables
// Expansion includes: // Expansion includes:
// -# environment variables // -# environment variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -50,7 +50,7 @@ namespace Foam
namespace stringOps namespace stringOps
{ {
//- Expand occurences of variables according to the mapping //- Expand occurrences of variables according to the mapping
// Expansion includes: // Expansion includes:
// -# variables // -# variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"
@ -84,7 +84,7 @@ namespace stringOps
); );
//- Inplace expand occurences of variables according to the mapping //- Inplace expand occurrences of variables according to the mapping
// Expansion includes: // Expansion includes:
// -# variables // -# variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"
@ -117,7 +117,7 @@ namespace stringOps
const char sigil = '$' const char sigil = '$'
); );
//- Expand occurences of variables according to the dictionary //- Expand occurrences of variables according to the dictionary
// Expansion includes: // Expansion includes:
// -# variables // -# variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"
@ -156,7 +156,7 @@ namespace stringOps
); );
//- Inplace expand occurences of variables according to the dictionary //- Inplace expand occurrences of variables according to the dictionary
// and optionally environment variables // and optionally environment variables
// Expansion includes: // Expansion includes:
// -# variables // -# variables
@ -177,7 +177,7 @@ namespace stringOps
); );
//- Inplace expand occurences of variables according to the dictionary //- Inplace expand occurrences of variables according to the dictionary
// Expansion includes: // Expansion includes:
// -# variables // -# variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"
@ -194,7 +194,7 @@ namespace stringOps
); );
//- Expand initial tildes and all occurences of environment variables //- Expand initial tildes and all occurrences of environment variables
// Expansion includes: // Expansion includes:
// -# environment variables // -# environment variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"
@ -233,7 +233,7 @@ namespace stringOps
); );
//- Expand initial tildes and all occurences of environment variables //- Expand initial tildes and all occurrences of environment variables
// Expansion includes: // Expansion includes:
// -# environment variables // -# environment variables
// - "$VAR", "${VAR}" // - "$VAR", "${VAR}"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -149,7 +149,7 @@ public:
//- Return the model 'active' status - default active = true //- Return the model 'active' status - default active = true
virtual bool active() const; virtual bool active() const;
//- Cache dependant sub-model fields //- Cache dependent sub-model fields
virtual void cacheFields(const bool store); virtual void cacheFields(const bool store);
//- Flag to indicate when to write a property //- Flag to indicate when to write a property

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -79,7 +79,7 @@ Foam::UIPstream::UIPstream
} }
// If the buffer size is not specified, probe the incomming message // If the buffer size is not specified, probe the incoming message
// and set it // and set it
if (!wantedSize) if (!wantedSize)
{ {
@ -180,7 +180,7 @@ Foam::UIPstream::UIPstream(const int fromProcNo, PstreamBuffers& buffers)
<< Foam::endl; << Foam::endl;
} }
// If the buffer size is not specified, probe the incomming message // If the buffer size is not specified, probe the incoming message
// and set it // and set it
if (!wantedSize) if (!wantedSize)
{ {
@ -274,7 +274,7 @@ Foam::label Foam::UIPstream::read
) )
{ {
FatalErrorInFunction FatalErrorInFunction
<< "MPI_Recv cannot receive incomming message" << "MPI_Recv cannot receive incoming message"
<< Foam::abort(FatalError); << Foam::abort(FatalError);
return 0; return 0;
@ -298,7 +298,7 @@ Foam::label Foam::UIPstream::read
{ {
FatalErrorInFunction FatalErrorInFunction
<< "buffer (" << label(bufSize) << "buffer (" << label(bufSize)
<< ") not large enough for incomming message (" << ") not large enough for incoming message ("
<< messageSize << ')' << messageSize << ')'
<< Foam::abort(FatalError); << Foam::abort(FatalError);
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -59,7 +59,7 @@ class totalFlowRateAdvectiveDiffusiveFvPatchScalarField
word phiName_; word phiName_;
//- Name of the density field used to normalise the mass flux //- Name of the density field used to normalise the mass flux
// if neccessary // if necessary
word rhoName_; word rhoName_;
//- Mass flux fraction //- Mass flux fraction

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -173,7 +173,7 @@ public:
// Member functions // Member functions
// Acces functions // Access functions
// Return z0 // Return z0
scalarField& z0() scalarField& z0()

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -171,7 +171,7 @@ public:
// Member functions // Member functions
// Acces functions // Access functions
// Return Ks // Return Ks
scalarField& Ks() scalarField& Ks()

View File

@ -1186,7 +1186,7 @@ Foam::dynamicRefineFvMesh::~dynamicRefineFvMesh()
bool Foam::dynamicRefineFvMesh::update() bool Foam::dynamicRefineFvMesh::update()
{ {
// Re-read dictionary. Choosen since usually -small so trivial amount // Re-read dictionary. Chosen since usually -small so trivial amount
// of time compared to actual refinement. Also very useful to be able // of time compared to actual refinement. Also very useful to be able
// to modify on-the-fly. // to modify on-the-fly.
dictionary refineDict dictionary refineDict
@ -1376,7 +1376,7 @@ bool Foam::dynamicRefineFvMesh::update()
if ((nRefinementIterations_ % 10) == 0) if ((nRefinementIterations_ % 10) == 0)
{ {
// Compact refinement history occassionally (how often?). // Compact refinement history occasionally (how often?).
// Unrefinement causes holes in the refinementHistory. // Unrefinement causes holes in the refinementHistory.
const_cast<refinementHistory&>(meshCutter().history()).compact(); const_cast<refinementHistory&>(meshCutter().history()).compact();
} }

View File

@ -520,7 +520,7 @@ void Foam::cellCuts::calcFaceCuts() const
// string of connected cuts; we don't want to start somewhere in the // string of connected cuts; we don't want to start somewhere in the
// middle. // middle.
// Pass1: find first point cut not preceeded by a cut. // Pass1: find first point cut not preceded by a cut.
label startFp = -1; label startFp = -1;
forAll(f, fp) forAll(f, fp)
@ -544,7 +544,7 @@ void Foam::cellCuts::calcFaceCuts() const
} }
} }
// Pass2: first edge cut not preceeded by point cut // Pass2: first edge cut not preceded by point cut
if (startFp == -1) if (startFp == -1)
{ {
forAll(f, fp) forAll(f, fp)
@ -1086,7 +1086,7 @@ bool Foam::cellCuts::walkCell
{ {
// Cut along existing edge. So is in fact on two faces. // Cut along existing edge. So is in fact on two faces.
// Get faces on both sides of the edge to make // Get faces on both sides of the edge to make
// sure we dont fold back on to those. // sure we don't fold back on to those.
label f0, f1; label f0, f1;
meshTools::getEdgeFaces(mesh(), celli, edgeI, f0, f1); meshTools::getEdgeFaces(mesh(), celli, edgeI, f0, f1);
@ -1595,7 +1595,7 @@ bool Foam::cellCuts::calcAnchors
{ {
if (hasSet1) if (hasSet1)
{ {
// Second occurence of set1. // Second occurrence of set1.
WarningInFunction WarningInFunction
<< "Invalid loop " << loop << " for cell " << celli << "Invalid loop " << loop << " for cell " << celli
<< " since face " << f << " would be split into" << " since face " << f << " would be split into"
@ -1612,7 +1612,7 @@ bool Foam::cellCuts::calcAnchors
{ {
if (hasSet2) if (hasSet2)
{ {
// Second occurence of set1. // Second occurrence of set1.
WarningInFunction WarningInFunction
<< "Invalid loop " << loop << " for cell " << celli << "Invalid loop " << loop << " for cell " << celli
<< " since face " << f << " would be split into" << " since face " << f << " would be split into"
@ -1650,7 +1650,7 @@ bool Foam::cellCuts::calcAnchors
{ {
if (hasSet1) if (hasSet1)
{ {
// Second occurence of set1. // Second occurrence of set1.
WarningInFunction WarningInFunction
<< "Invalid loop " << loop << " for cell " << celli << "Invalid loop " << loop << " for cell " << celli
<< " since face " << f << " would be split into" << " since face " << f << " would be split into"
@ -1667,7 +1667,7 @@ bool Foam::cellCuts::calcAnchors
{ {
if (hasSet2) if (hasSet2)
{ {
// Second occurence of set1. // Second occurrence of set1.
WarningInFunction WarningInFunction
<< "Invalid loop " << loop << " for cell " << celli << "Invalid loop " << loop << " for cell " << celli
<< " since face " << f << " would be split into" << " since face " << f << " would be split into"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -442,7 +442,7 @@ class cellCuts
//- Set orientation of loops //- Set orientation of loops
void orientPlanesAndLoops(); void orientPlanesAndLoops();
//- Top level driver: adressing calculation and loop detection //- Top level driver: addressing calculation and loop detection
// (loops splitting cells). // (loops splitting cells).
void calcLoopsAndAddressing(const labelList& cutCells); void calcLoopsAndAddressing(const labelList& cutCells);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -257,7 +257,7 @@ bool Foam::boundaryCutter::splitFace
else if (nSplitEdges + nModPoints == 1) else if (nSplitEdges + nModPoints == 1)
{ {
// single or multiple cuts on a single edge or single modified point // single or multiple cuts on a single edge or single modified point
// Dont cut and let caller handle this. // Don't cut and let caller handle this.
Warning << "Face " << facei << " has only one edge cut " << endl; Warning << "Face " << facei << " has only one edge cut " << endl;
return false; return false;
} }
@ -759,7 +759,7 @@ void Foam::boundaryCutter::setRefinement
// Is external face so split // Is external face so split
if (splitFace(facei, pointToPos, edgeToAddedPoints, meshMod)) if (splitFace(facei, pointToPos, edgeToAddedPoints, meshMod))
{ {
// Successfull split // Successful split
faceUptodate[facei] = true; faceUptodate[facei] = true;
} }
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -177,7 +177,7 @@ class motionSmootherAlgo
const scalarField& edgeWeight const scalarField& edgeWeight
) const; ) const;
//- Average postion of connected points. //- Average position of connected points.
template<class Type> template<class Type>
tmp<GeometricField<Type, pointPatchField, pointMesh>> avgPositions tmp<GeometricField<Type, pointPatchField, pointMesh>> avgPositions
( (

View File

@ -891,7 +891,7 @@ void Foam::polyMeshAdder::mergePointZones
// Zone(s) per point. Two levels: if only one zone // Zone(s) per point. Two levels: if only one zone
// stored in pointToZone. Any extra stored in additionalPointToZones. // stored in pointToZone. Any extra stored in additionalPointToZones.
// This is so we only allocate labelLists per point if absolutely // This is so we only allocate labelLists per point if absolutely
// necesary. // necessary.
labelList pointToZone(nAllPoints, -1); labelList pointToZone(nAllPoints, -1);
labelListList addPointToZones(nAllPoints); labelListList addPointToZones(nAllPoints);
@ -1216,7 +1216,7 @@ void Foam::polyMeshAdder::mergeCellZones
// Zone(s) per cell. Two levels: if only one zone // Zone(s) per cell. Two levels: if only one zone
// stored in cellToZone. Any extra stored in additionalCellToZones. // stored in cellToZone. Any extra stored in additionalCellToZones.
// This is so we only allocate labelLists per cell if absolutely // This is so we only allocate labelLists per cell if absolutely
// necesary. // necessary.
labelList cellToZone(nAllCells, -1); labelList cellToZone(nAllCells, -1);
labelListList addCellToZones(nAllCells); labelListList addCellToZones(nAllCells);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -291,7 +291,7 @@ void Foam::faceCollapser::setRefinement
near.setPoint(newPoint); near.setPoint(newPoint);
} }
// Responsability of caller to make sure polyModifyPoint is only // Responsibility of caller to make sure polyModifyPoint is only
// called once per point. (so max only one collapse face per // called once per point. (so max only one collapse face per
// edge) // edge)
meshMod.setAction meshMod.setAction
@ -344,7 +344,7 @@ void Foam::faceCollapser::setRefinement
near.setPoint(newPoint); near.setPoint(newPoint);
} }
// Responsability of caller to make sure polyModifyPoint is only // Responsibility of caller to make sure polyModifyPoint is only
// called once per point. (so max only one collapse face per // called once per point. (so max only one collapse face per
// edge) // edge)
meshMod.setAction meshMod.setAction

View File

@ -274,7 +274,7 @@ class hexRef8
polyTopoChange& meshMod polyTopoChange& meshMod
) const; ) const;
//- Store vertices from startFp upto face split point. //- Store vertices from startFp up to face split point.
// Used when splitting face into 4. // Used when splitting face into 4.
void walkFaceToMid void walkFaceToMid
( (

Some files were not shown because too many files have changed in this diff Show More