multiphaseEulerFoam::MovingPhaseModel: Added cast for older gcc versions
This commit is contained in:
@ -414,8 +414,7 @@ Foam::MovingPhaseModel<BasePhaseModel>::UfRef()
|
||||
<< "Uf has not been allocated."
|
||||
<< exit(FatalError);
|
||||
|
||||
// return const_cast<volVectorField&>(volVectorField::null());
|
||||
return surfaceVectorField::null();
|
||||
return const_cast<surfaceVectorField&>(surfaceVectorField::null());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user