20 const word outputName,
21 const word outputType,
27 UPtrList<DAFunction>& daFunctionList)
50 dictionary resOptions;
51 resOptions.set(
"isPC", isPC);
58 const word stateName =
stateInfo_[
"volVectorStates"][idxI];
59 const word stateResName = stateName +
"Res";
60 volVectorField& stateRes =
const_cast<volVectorField&
>(
61 mesh_.thisDb().lookupObject<volVectorField>(stateResName));
65 for (label i = 0; i < 3; i++)
68 output[localIdx] = stateRes[cellI][i];
75 const word stateName =
stateInfo_[
"volScalarStates"][idxI];
76 const word stateResName = stateName +
"Res";
77 volScalarField& stateRes =
const_cast<volScalarField&
>(
78 mesh_.thisDb().lookupObject<volScalarField>(stateResName));
83 output[localIdx] = stateRes[cellI];
89 const word stateName =
stateInfo_[
"modelStates"][idxI];
90 const word stateResName = stateName +
"Res";
91 volScalarField& stateRes =
const_cast<volScalarField&
>(
92 mesh_.thisDb().lookupObject<volScalarField>(stateResName));
97 output[localIdx] = stateRes[cellI];
103 const word stateName =
stateInfo_[
"surfaceScalarStates"][idxI];
104 const word stateResName = stateName +
"Res";
105 surfaceScalarField& stateRes =
const_cast<surfaceScalarField&
>(
106 mesh_.thisDb().lookupObject<surfaceScalarField>(stateResName));
114 output[localIdx] = stateRes[faceI];
121 output[localIdx] = stateRes.boundaryFieldRef()[patchIdx][faceIdx];