mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: resolve template qualification and other issues for clang-5.0.1
This commit is contained in:
@ -102,7 +102,7 @@ void CrankNicolsonDdtScheme<Type>::DDt0Field<GeoField>::operator=
|
|||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
template<class GeoField>
|
template<class GeoField>
|
||||||
CrankNicolsonDdtScheme<Type>::DDt0Field<GeoField>&
|
typename CrankNicolsonDdtScheme<Type>::template DDt0Field<GeoField>&
|
||||||
CrankNicolsonDdtScheme<Type>::ddt0_
|
CrankNicolsonDdtScheme<Type>::ddt0_
|
||||||
(
|
(
|
||||||
const word& name,
|
const word& name,
|
||||||
@ -192,6 +192,7 @@ bool CrankNicolsonDdtScheme<Type>::evaluate
|
|||||||
return ddt0.timeIndex() != mesh().time().timeIndex();
|
return ddt0.timeIndex() != mesh().time().timeIndex();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
template<class GeoField>
|
template<class GeoField>
|
||||||
scalar CrankNicolsonDdtScheme<Type>::coef_
|
scalar CrankNicolsonDdtScheme<Type>::coef_
|
||||||
|
|||||||
@ -164,10 +164,10 @@ class CrankNicolsonDdtScheme
|
|||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&);
|
CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&) = delete;
|
||||||
|
|
||||||
//- Disallow default bitwise assignment
|
//- Disallow default bitwise assignment
|
||||||
void operator=(const CrankNicolsonDdtScheme&);
|
void operator=(const CrankNicolsonDdtScheme&) = delete;
|
||||||
|
|
||||||
template<class GeoField>
|
template<class GeoField>
|
||||||
DDt0Field<GeoField>& ddt0_
|
DDt0Field<GeoField>& ddt0_
|
||||||
|
|||||||
@ -54,8 +54,7 @@ void Foam::DSMCCloud<ParcelType>::buildConstProps()
|
|||||||
|
|
||||||
const dictionary& molDict(moleculeProperties.subDict(id));
|
const dictionary& molDict(moleculeProperties.subDict(id));
|
||||||
|
|
||||||
constProps_[i] =
|
constProps_[i] = typename ParcelType::constantProperties(molDict);
|
||||||
typename ParcelType::constantProperties::constantProperties(molDict);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -429,7 +429,7 @@ void Foam::RBD::rigidBodyModel::write(Ostream& os) const
|
|||||||
|
|
||||||
forAll(restraints_, ri)
|
forAll(restraints_, ri)
|
||||||
{
|
{
|
||||||
const word& restraintType(restraints_[ri].type());
|
// const word& restraintType(restraints_[ri].type());
|
||||||
|
|
||||||
os.beginBlock(restraints_[ri].name());
|
os.beginBlock(restraints_[ri].name());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user