Skip to content

Commit

Permalink
an attempt to reduce the running time of co2_ptflash_ecfv_validation
Browse files Browse the repository at this point in the history
  • Loading branch information
GitPaean committed Feb 28, 2024
1 parent a1de45d commit bc8d010
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/problems/co2ptflashproblemvalidation.hh
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@ struct EndTime<TypeTag, TTag::CO2PTBaseProblem> {
template <class TypeTag>
struct EpisodeLength<TypeTag, TTag::CO2PTBaseProblem> {
using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 21600.0;
static constexpr type value = 2*21600.0;
};

// convergence control
template <class TypeTag>
struct InitialTimeStepSize<TypeTag, TTag::CO2PTBaseProblem> {
using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 21600.0;
static constexpr type value = 2*21600.0;
};

template <class TypeTag>
Expand Down Expand Up @@ -251,7 +251,7 @@ struct Vanguard<TypeTag, TTag::CO2PTBaseProblem> {
template <class TypeTag>
struct DomainSizeX<TypeTag, TTag::CO2PTBaseProblem> {
using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 1000; // meter
static constexpr type value = 200; // meter
};

template <class TypeTag>
Expand Down

0 comments on commit bc8d010

Please sign in to comment.