fixed: inconsistent parameter setups

registered as int and obtained as unsigned, or registered
as Scalar and obtained as int
This commit is contained in:
Arne Morten Kvarving
2024-04-04 14:33:40 +02:00
parent 2fea434f9a
commit 6103383c1a
10 changed files with 24 additions and 25 deletions

View File

@@ -131,11 +131,11 @@ struct DomainSizeZ<TypeTag, TTag::DiffusionBaseProblem>
};
template<class TypeTag>
struct CellsX<TypeTag, TTag::DiffusionBaseProblem> { static constexpr int value = 250; };
struct CellsX<TypeTag, TTag::DiffusionBaseProblem> { static constexpr unsigned value = 250; };
template<class TypeTag>
struct CellsY<TypeTag, TTag::DiffusionBaseProblem> { static constexpr int value = 1; };
struct CellsY<TypeTag, TTag::DiffusionBaseProblem> { static constexpr unsigned value = 1; };
template<class TypeTag>
struct CellsZ<TypeTag, TTag::DiffusionBaseProblem> { static constexpr int value = 1; };
struct CellsZ<TypeTag, TTag::DiffusionBaseProblem> { static constexpr unsigned value = 1; };
// The default for the end time of the simulation
template<class TypeTag>