in the method bool Foam::pimpleControl::criteriaSatisfied() of an OpenFoam Source Code I found the following expression:
bool Foam::pimpleControl::criteriaSatisfied()
{
// ...
const word& variableName = iter().keyword();
// ...
}
For iter() I found:
Foam::label iter() const inline
Return const access to the current cloud iteration
For keyword():
keyType& keyword() inline
Return non-const access to keyword.
I have two questions about this:
What does it mean when calling method on method like
iter().keyword();?What does
&afterword&orkeyType&mean? I know that every method also has a datatyp declaration, but has the&a specific meaning?
greetings Streight