Menu

#57 Problematic hack fails compilation

1.0
open
nobody
None
2021-01-05
2021-01-05
No

Version 2d99850 of 4.1 nextRelease branch:
I had to comment lines 411 and 412 in src/conjugateHeatTransfer/fvPatchFields/chtRcThermalDiffusivityResistance/chtRcThermalDiffusivityResistanceFvPatchScalarField.C

Lines 409-410 say that those lines may not be completely correct:
// Specify data associated with VectorN<scalar, 5=""> type is contiguous
// Hacked by Henrik Rusche??? Remove? HJ, 11/May/2020</scalar,>

Compilation error message:
fvPatchFields/chtRcThermalDiffusivityResistance/chtRcThermalDiffusivityResistanceFvPatchScalarField.C:412:63: error: specialization of 'template<class t=""> bool Foam::contiguous()' in different namespace [-fpermissive]
inline bool Foam::contiguous<foam::vectorn<foam::scalar, 5=""> >() {return true;}</foam::vectorn<foam::scalar,></class>

Discussion


Log in to post a comment.