Formatting
This commit is contained in:
parent
fbc80cd943
commit
805524bcb1
7 changed files with 11 additions and 11 deletions
|
@ -252,11 +252,11 @@ endOfSection {space}")"{space}
|
|||
%}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- *\
|
||||
/* ------------------------------------------------------------------------ *\
|
||||
------ Start Lexing ------
|
||||
\* ------------------------------------------------------------------------- */
|
||||
\* ------------------------------------------------------------------------ */
|
||||
|
||||
/* ------ Reading control header ------ */
|
||||
/* ------ Reading control header ------ */
|
||||
|
||||
{comment} {
|
||||
yy_push_state(readComment);
|
||||
|
|
|
@ -71,7 +71,7 @@ class block
|
|||
labelListListList boundaryPatches_;
|
||||
|
||||
|
||||
// private member functions
|
||||
// Private member functions
|
||||
|
||||
label vtxLabel(label i, label j, label k);
|
||||
|
||||
|
|
|
@ -239,9 +239,9 @@ int main(int argc, char *argv[])
|
|||
// Collect all boundary faces
|
||||
labelList boundaryFaces(mesh.nFaces() - mesh.nInternalFaces());
|
||||
|
||||
forAll(boundaryFaces, i)
|
||||
forAll (boundaryFaces, i)
|
||||
{
|
||||
boundaryFaces[i] = i+mesh.nInternalFaces();
|
||||
boundaryFaces[i] = i + mesh.nInternalFaces();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -61,14 +61,14 @@ public:
|
|||
|
||||
scalar operator()(const scalar& x) const
|
||||
{
|
||||
return 0.5*Foam::pow(x,-1.5) - Foam::cos(x);
|
||||
return 0.5*Foam::pow(x, -1.5) - Foam::cos(x);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
testFunction tf;
|
||||
testFunction tf;
|
||||
testFunctionDerivative df;
|
||||
|
||||
Info<< setprecision(10)
|
||||
|
@ -77,7 +77,7 @@ int main(int argc, char *argv[])
|
|||
<< "Ridders root "
|
||||
<< RiddersRoot<testFunction>(tf, 1e-5).root(0, 10) << nl
|
||||
<< "NewtonSecant root "
|
||||
<< NewtonSecantRoot<testFunction,testFunctionDerivative>
|
||||
<< NewtonSecantRoot<testFunction, testFunctionDerivative>
|
||||
(
|
||||
tf,
|
||||
df,
|
||||
|
|
|
@ -171,7 +171,6 @@ int main(int argc, char *argv[])
|
|||
// Get list of objects from processor0 database
|
||||
IOobjectList objects(procMeshes.meshes()[0], databases[0].timeName());
|
||||
|
||||
|
||||
// If there are any FV fields, reconstruct them
|
||||
|
||||
if
|
||||
|
|
|
@ -184,4 +184,5 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||
Info<< "\nEnd\n" << endl;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
|
@ -78,7 +78,7 @@ int main(int argc, char *argv[])
|
|||
const labelListList& pointEdges = surf1.pointEdges();
|
||||
|
||||
|
||||
for(label iter = 0; iter < iters; iter++)
|
||||
for (label iter = 0; iter < iters; iter++)
|
||||
{
|
||||
forAll(pointEdges, vertI)
|
||||
{
|
||||
|
|
Reference in a new issue