code tidying

This commit is contained in:
andy
2009-08-18 10:43:51 +01:00
parent dc385799db
commit 3e0ec9d835
95 changed files with 194 additions and 368 deletions

View File

@ -22,8 +22,6 @@ License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
\*---------------------------------------------------------------------------*/
#include "edgeIntersections.H"
@ -46,7 +44,7 @@ Description
defineTypeNameAndDebug(Foam::edgeIntersections, 0);
Foam::scalar Foam::edgeIntersections::alignedCos_ =
Foam::cos(89.0 * Foam::mathematicalConstant::pi/180.0);
Foam::cos(89.0*Foam::mathematicalConstant::pi/180.0);
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
@ -721,13 +719,4 @@ Foam::label Foam::edgeIntersections::removeDegenerates
}
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * Friend Functions * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * Friend Operators * * * * * * * * * * * * * //
// ************************************************************************* //

View File

@ -131,6 +131,7 @@ class edgeIntersections
boolList& affectedEdges
) const;
public:
ClassName("edgeIntersections");

View File

@ -22,8 +22,6 @@ License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
\*---------------------------------------------------------------------------*/
#include "surfaceIntersection.H"
@ -201,7 +199,6 @@ bool Foam::surfaceIntersection::excludeEdgeHit
//}
void Foam::surfaceIntersection::storeIntersection
(
const bool isFirstSurf,

View File

@ -76,7 +76,7 @@ class triSurface;
class edgeIntersections;
/*---------------------------------------------------------------------------*\
Class surfaceIntersection Declaration
Class surfaceIntersection Declaration
\*---------------------------------------------------------------------------*/
class surfaceIntersection
@ -171,7 +171,7 @@ class surfaceIntersection
// const point& eStart,
// const point& eEnd
//);
//- Debugging: Dump intersected edges to stream
void writeIntersectedEdges
@ -233,6 +233,7 @@ class surfaceIntersection
List<DynamicList<label> >& surfEdgeCuts
);
public:
ClassName("surfaceIntersection");
@ -284,7 +285,6 @@ public:
const labelListList& surf1EdgeCuts() const;
const labelListList& surf2EdgeCuts() const;
};

View File

@ -22,8 +22,6 @@ License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
\*---------------------------------------------------------------------------*/
#include "surfaceIntersection.H"
@ -37,9 +35,6 @@ Description
#include "octree.H"
#include "meshTools.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
void Foam::surfaceIntersection::writeOBJ(const point& pt, Ostream& os)

View File

@ -22,8 +22,6 @@ License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
\*---------------------------------------------------------------------------*/
#include "surfaceIntersection.H"