Go to the documentation of this file. 1 Info<<
nl <<
"Calculating specific catch ratio fields\n" <<
endl;
2 for (
int phase_no = 0; phase_no <
phases.size(); phase_no++)
4 string phase_scrname =
"scr";
6 std::stringstream convert;
8 phase_no_str = convert.str();
9 phase_scrname.append(phase_no_str);
36 scr.set(phase_no,scrtemp);
37 scr[phase_no].internalField()=scalar(0);
38 scr[phase_no].write();
41 Info<<
nl <<
"Calculating catch ratio field\n" <<
endl;
56 for (
int phase_no = 1; phase_no <
phases.size(); phase_no++)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
PtrList< volScalarField > scr
GeometricField< scalar, fvPatchField, volMesh > volScalarField
PtrList< volScalarField > alpharain
PtrList< volVectorField > Urain
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
multiphaseSystem::phaseModelList & phases