mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Non-const dereferencing of tmp in fvc:dt2dt2 (closes #227)
This commit is contained in:
@ -50,7 +50,7 @@ d2dt2
|
|||||||
(
|
(
|
||||||
vf.mesh(),
|
vf.mesh(),
|
||||||
vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')')
|
vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')')
|
||||||
)().fvcD2dt2(vf);
|
).ref().fvcD2dt2(vf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ d2dt2
|
|||||||
(
|
(
|
||||||
vf.mesh(),
|
vf.mesh(),
|
||||||
vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')')
|
vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')')
|
||||||
)().fvcD2dt2(rho, vf);
|
).ref().fvcD2dt2(rho, vf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user