View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002133 | OpenFOAM | Patch | public | 2016-06-29 20:30 | 2016-06-29 21:57 |
Reporter | kevnor | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0002133: Error in fvcD2dt2 | ||||
Description | Codes using fvc::d2dt2 fail to compile in the release version of 4.0, due to fvcD2dt2.C using the deprecated approach for non-const dereferencing from a tmp. Suggested patch attached. | ||||
Tags | No tags attached. | ||||
|
fvcD2dt2.C.diff (450 bytes)
--- fvcD2dt2.C~ 2016-06-24 23:33:52.000000000 +0200 +++ fvcD2dt2.C 2016-06-29 14:08:51.148462113 +0200 @@ -50,7 +50,7 @@ ( vf.mesh(), vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')') - )().fvcD2dt2(vf); + ).ref().fvcD2dt2(vf); } @@ -66,7 +66,7 @@ ( vf.mesh(), vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')') - )().fvcD2dt2(rho, vf); + ).ref().fvcD2dt2(rho, vf); } |
|
Thanks for reporting. Resolved in OpenFOAM-dev by commit 9fa1756565a6a1c407f575e64ab759e096886336 Resolved in OpenFOAM-4.x by commit 90f400ead5e806c062e14cec973fdbb2d78ebe3e |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-29 20:30 | kevnor | New Issue | |
2016-06-29 20:30 | kevnor | File Added: fvcD2dt2.C.diff | |
2016-06-29 21:57 | henry | Note Added: 0006475 | |
2016-06-29 21:57 | henry | Status | new => resolved |
2016-06-29 21:57 | henry | Fixed in Version | => 4.x |
2016-06-29 21:57 | henry | Resolution | open => fixed |
2016-06-29 21:57 | henry | Assigned To | => henry |