Merge pull request #4157 from blattms/wellcontrib-available-always

Fix compilation with amgcl/vexcl and without CUDA/OpenCL.
This commit is contained in:
Atgeirr Flø Rasmussen
2022-10-17 15:03:37 +02:00
committed by GitHub
8 changed files with 3 additions and 19 deletions

View File

@@ -54,10 +54,8 @@ template<typename FluidSystem, typename Indices, typename Scalar>
class MultisegmentWellEval : public MultisegmentWellGeneric<Scalar>
{
public:
#if HAVE_CUDA || HAVE_OPENCL
/// add the contribution (C, D, B matrices) of this Well to the WellContributions object
void addWellContribution(WellContributions& wellContribs) const;
#endif
protected:
// TODO: for now, not considering the polymer, solvent and so on to simplify the development process.