Skip to content
Snippets Groups Projects
Commit dd1ca330 authored by Henry Weller's avatar Henry Weller
Browse files

surfaceFilmModels::contactAngleForces: Provide empty list default value for zeroForcePatches

parent a0671518
Branches
No related merge requests found
......@@ -46,7 +46,10 @@ defineTypeNameAndDebug(contactAngleForce, 0);
void contactAngleForce::initialise()
{
const wordReList zeroForcePatches(coeffDict_.lookup("zeroForcePatches"));
const wordReList zeroForcePatches
(
coeffDict_.lookupOrDefault<wordReList>("zeroForcePatches", wordReList())
);
if (zeroForcePatches.size())
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment