Formatting: Rationalized the indentation of #include

This commit is contained in:
Henry
2015-02-10 20:35:50 +00:00
parent 45461bfcfe
commit c778346c96
151 changed files with 508 additions and 519 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -731,7 +731,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
# include "vtkPV3FoamTemplates.C"
#include "vtkPV3FoamTemplates.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -731,7 +731,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
# include "vtkPV4FoamTemplates.C"
#include "vtkPV4FoamTemplates.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -12,11 +12,9 @@ int USERD_get_gold_part_build_info
int *iblanking_options[6]
)
{
#ifdef ENSIGHTDEBUG
#ifdef ENSIGHTDEBUG
Info<< "Entering: USERD_get_gold_part_build_info" << endl << flush;
#endif
//# include "checkForNewMesh.H"
#endif
const cellShapeList& cellShapes = meshPtr->cellShapes();
const cellList& cells = meshPtr->cells();
@ -153,4 +151,3 @@ int USERD_get_gold_part_build_info
return Z_OK;
}

View File

@ -6,17 +6,13 @@ int USERD_get_part_coords
float **coord_array
)
{
#ifdef ENSIGHTDEBUG
#ifdef ENSIGHTDEBUG
Info<< "Entering: USERD_get_part_coords" << endl <<
"part_number = " << part_number << endl << flush;
#endif
#endif
if (part_number == 1)
{
//# include "checkForNewMesh.H"
const vectorField& points = meshPtr->points();
label nPoints = points.size();
@ -29,9 +25,6 @@ int USERD_get_part_coords
}
else if (part_number < nPatches+2)
{
//# include "checkForNewMesh.H"
label patchi = part_number-2;
const polyBoundaryMesh& bMesh = meshPtr->boundaryMesh();
const vectorField& points = bMesh[patchi].points();
@ -63,9 +56,9 @@ int USERD_get_part_coords
return Z_ERR;
}
#ifdef ENSIGHTDEBUG
#ifdef ENSIGHTDEBUG
Info<< "Leaving: USERD_get_part_coords" << endl << flush;
#endif
#endif
return Z_OK;
}

View File

@ -32,15 +32,15 @@ int USERD_get_var_by_component
{
if (which_part == 1)
{
# include "getFieldScalar.H"
#include "getFieldScalar.H"
}
else if (which_part < nPatches+2)
{
# include "getPatchFieldScalar.H"
#include "getPatchFieldScalar.H"
}
else if (which_part == nPatches+2)
{
# include "getLagrangianScalar.H"
#include "getLagrangianScalar.H"
}
else
{
@ -51,15 +51,15 @@ int USERD_get_var_by_component
{
if (which_part == 1)
{
# include "getFieldVector.H"
#include "getFieldVector.H"
}
else if (which_part < nPatches+2)
{
# include "getPatchFieldVector.H"
#include "getPatchFieldVector.H"
}
else if (which_part == nPatches+2)
{
# include "getLagrangianVector.H"
#include "getLagrangianVector.H"
}
else
{
@ -73,11 +73,11 @@ int USERD_get_var_by_component
if (which_part == 1)
{
# include "getFieldTensor.H"
#include "getFieldTensor.H"
}
else if (which_part < nPatches+2)
{
# include "getPatchFieldTensor.H"
#include "getPatchFieldTensor.H"
}
else if (which_part == nPatches+2)
{

View File

@ -48,7 +48,7 @@ if (which_type == Z_HEX08)
if (cellModel == hex) // || (cellModel == wedge))
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}
@ -66,7 +66,7 @@ if (which_type == Z_PEN06)
if (cellModel == prism)
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}
@ -84,7 +84,7 @@ if (which_type == Z_PYR05)
if (cellModel == pyr)
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}
@ -104,7 +104,7 @@ if (which_type == Z_TET04)
if (cellModel == tet)
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}
@ -131,12 +131,12 @@ if (which_type == Z_NFACED)
{}
else
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
else
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}

View File

@ -44,7 +44,7 @@ if (which_type == Z_TRI03)
label nPoints = bMesh[patchi][n].size();
if (nPoints == 3)
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}
@ -57,7 +57,7 @@ if (which_type == Z_QUA04)
label nPoints = bMesh[patchi][n].size();
if (nPoints == 4)
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}
@ -70,7 +70,7 @@ if (which_type == Z_NSIDED)
label nPoints = bMesh[patchi][n].size();
if ((nPoints != 3) && (nPoints != 4))
{
# include "tensorConversion.H"
#include "tensorConversion.H"
}
}
}