View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002930 | OpenFOAM | Patch | public | 2018-05-14 16:10 | 2018-05-21 11:08 |
Reporter | jkau | Assigned To | will | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002930: heightAboveWave always initialized with 'false' in copy constructor | ||||
Description | heightAboveWave switch is always set to false in copy constructor of waveSuperposition class instead of being inherited. Find attached patch to fix. | ||||
Tags | No tags attached. | ||||
|
heightAboveWave.patch (537 bytes)
diff --git a/src/waves/waveSuperposition/waveSuperposition.C b/src/waves/waveSuperposition/waveSuperposition.C index 2e3fe8e..b096c1f 100644 --- a/src/waves/waveSuperposition/waveSuperposition.C +++ b/src/waves/waveSuperposition/waveSuperposition.C @@ -198,7 +198,7 @@ Foam::waveSuperposition::waveSuperposition(const waveSuperposition& waves) ramp_(waves.ramp_, false), scale_(waves.scale_, false), crossScale_(waves.crossScale_, false), - heightAboveWave_(false) + heightAboveWave_(waves.heightAboveWave_) {} |
|
Thanks. Fixed in dev by 9dcdf23a. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-14 16:10 | jkau | New Issue | |
2018-05-14 16:10 | jkau | File Added: heightAboveWave.patch | |
2018-05-21 11:08 | will | Assigned To | => will |
2018-05-21 11:08 | will | Status | new => resolved |
2018-05-21 11:08 | will | Resolution | open => fixed |
2018-05-21 11:08 | will | Fixed in Version | => dev |
2018-05-21 11:08 | will | Note Added: 0009610 |