mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -206,7 +206,7 @@ void Foam::forceCoeffs::write()
|
||||
Field<vector> totForce(force_[0] + force_[1] + force_[2]);
|
||||
Field<vector> totMoment(moment_[0] + moment_[1] + moment_[2]);
|
||||
|
||||
List<Field<scalar> > coeffs(3);
|
||||
List<Field<scalar>> coeffs(3);
|
||||
coeffs[0].setSize(nBin_);
|
||||
coeffs[1].setSize(nBin_);
|
||||
coeffs[2].setSize(nBin_);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -441,8 +441,8 @@ void Foam::forces::writeBins()
|
||||
return;
|
||||
}
|
||||
|
||||
List<Field<vector> > f(force_);
|
||||
List<Field<vector> > m(moment_);
|
||||
List<Field<vector>> f(force_);
|
||||
List<Field<vector>> m(moment_);
|
||||
|
||||
if (binCumulative_)
|
||||
{
|
||||
@ -474,8 +474,8 @@ void Foam::forces::writeBins()
|
||||
|
||||
if (localSystem_)
|
||||
{
|
||||
List<Field<vector> > lf(3);
|
||||
List<Field<vector> > lm(3);
|
||||
List<Field<vector>> lf(3);
|
||||
List<Field<vector>> lm(3);
|
||||
lf[0] = coordSys_.localVector(force_[0]);
|
||||
lf[1] = coordSys_.localVector(force_[1]);
|
||||
lf[2] = coordSys_.localVector(force_[2]);
|
||||
|
||||
@ -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-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -160,10 +160,10 @@ protected:
|
||||
Switch log_;
|
||||
|
||||
//- Pressure, viscous and porous force per bin
|
||||
List<Field<vector> > force_;
|
||||
List<Field<vector>> force_;
|
||||
|
||||
//- Pressure, viscous and porous moment per bin
|
||||
List<Field<vector> > moment_;
|
||||
List<Field<vector>> moment_;
|
||||
|
||||
|
||||
// Read from dictionary
|
||||
|
||||
Reference in New Issue
Block a user