SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Imex - Mode.hpp Hit Total Coverage
Commit: 965048f86d23c819715b3af1ca3f880c8145d4bb Lines: 1 5 20.0 %
Date: 2024-05-16 17:00:40
Legend: Lines: hit not hit

          Line data    Source code
       1           0 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : #pragma once
       5             : 
       6             : #include "Options/Options.hpp"
       7             : 
       8             : namespace imex {
       9             : /// IMEX implementations
      10           1 : enum class Mode {
      11             :   /// Solve the implicit equation using a nonlinear solver.
      12             :   Implicit,
      13             :   /// Solve a linearized version of the implicit equation.
      14             :   SemiImplicit,
      15             : };
      16             : }  // namespace imex
      17             : 
      18             : template <>
      19           0 : struct Options::create_from_yaml<imex::Mode> {
      20             :   template <typename Metavariables>
      21           0 :   static imex::Mode create(const Options::Option& options) {
      22             :     return create<void>(options);
      23             :   }
      24             : };
      25             : 
      26             : template <>
      27           0 : imex::Mode Options::create_from_yaml<imex::Mode>::create<void>(
      28             :     const Options::Option& options);

Generated by: LCOV version 1.14