remove fvCFD.H usage from remaining library source

- exception calcType.H since it'll most likely be used for building
  applications anyhow

- use quailified names in more of the lagrangian code

- killed some tab indents in various places.
This commit is contained in:
Mark Olesen
2009-12-02 15:34:52 +01:00
parent 2f8c7782f4
commit 00985638d8
91 changed files with 829 additions and 1155 deletions

View File

@ -34,12 +34,10 @@ License
#include "OFstream.H"
#include "IOmanip.H"
namespace Foam
{
// * * * * * * * * * * * * * * * Global Functions * * * * * * * * * * * * * //
void ensightCaseEntry
void Foam::ensightCaseEntry
(
OFstream& caseFile,
const string& ensightType,
@ -89,7 +87,7 @@ void ensightCaseEntry
}
void ensightParticlePositions
void Foam::ensightParticlePositions
(
const polyMesh& mesh,
const fileName& dataDir,
@ -113,7 +111,7 @@ void ensightParticlePositions
os.newline();
os.write("particle coordinates");
os.newline();
os.write(parcels.size(), 8); // unusual width
os.write(parcels.size(), 8); // unusual width
os.newline();
// binary write is Ensight6 - first ids, then positions
@ -141,7 +139,7 @@ void ensightParticlePositions
{
const vector& p = elmnt().position();
os.write(++nParcels, 8); // unusual width
os.write(++nParcels, 8); // unusual width
os.write(p.x());
os.write(p.y());
os.write(p.z());
@ -153,7 +151,7 @@ void ensightParticlePositions
template<class Type>
void ensightLagrangianField
void Foam::ensightLagrangianField
(
const IOobject& fieldObject,
const fileName& dataDir,
@ -211,7 +209,7 @@ void ensightLagrangianField
//- write generalized field components
template <class Type>
void ensightVolField
void Foam::ensightVolField
(
const ensightParts& partsList,
const IOobject& fieldObject,
@ -241,9 +239,5 @@ void ensightVolField
);
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // namespace Foam
// ************************************************************************* //

View File

@ -1195,16 +1195,15 @@ void register_data_readers()
/*
** like this for combined unstructured grids & results in a single file
*/
reg_single_unstruct_reader (
"Foam Reader", /* title you want for data reader */
user_query_file_function, /* whatever you called this */
user_read_one_grid_function /* whatever you called this */
);
reg_single_unstruct_reader
(
"Foam Reader", /* title you want for data reader */
user_query_file_function, /* whatever you called this */
user_read_one_grid_function /* whatever you called this */
);
}
}

View File

@ -38,9 +38,9 @@ setFormat raw;
surfaceFormat vtk;
// interpolationScheme. choice of
// cell : use cell-centre value only; constant over cells (default)
// cellPoint : use cell-centre and vertex values
// cellPointFace : use cell-centre, vertex and face values.
// cell : use cell-centre value only; constant over cells (default)
// cellPoint : use cell-centre and vertex values
// cellPointFace : use cell-centre, vertex and face values.
// 1] vertex values determined from neighbouring cell-centre values
// 2] face values determined using the current face interpolation scheme
// for the field (linear, gamma, etc.)