SpECTRE Documentation Coverage Report
Current view: top level - ControlSystem/ControlErrors/Size - DeltaR.hpp Coverage Total Hit
Commit: 0d1d717af84a81fb1284a20c4013708fe85cc2f0 Lines: 33.3 % 12 4
Test Date: 2026-10-22 17:29:42
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 <pup.h>
       7              : #include <string>
       8              : 
       9              : #include "ControlSystem/ControlErrors/Size/Info.hpp"
      10              : #include "ControlSystem/ControlErrors/Size/State.hpp"
      11              : #include "Options/String.hpp"
      12              : #include "Utilities/Serialization/CharmPupable.hpp"
      13              : #include "Utilities/TMPL.hpp"
      14              : 
      15              : namespace control_system::size::States {
      16            0 : class DeltaR : public State {
      17              :  public:
      18            0 :   using options = tmpl::list<>;
      19            0 :   static constexpr Options::String help{
      20              :       "Controls the velocity of the excision surface to maintain a constant "
      21              :       "separation between the excision surface and the horizon surface. This "
      22              :       "is state 2 in SpEC."};
      23            0 :   DeltaR() = default;
      24            1 :   std::string name() const override { return "DeltaR"; }
      25            1 :   size_t number() const override { return 2; }
      26            0 :   std::unique_ptr<State> get_clone() const override;
      27            1 :   std::string update(const gsl::not_null<Info*> info,
      28              :                      const StateUpdateArgs& update_args,
      29              :                      const CrossingTimeInfo& crossing_time_info) const override;
      30              :   /// The return value is Q from Eq. 96 of \cite Hemberger2012jz.
      31            1 :   double control_error(
      32              :       const Info& info,
      33              :       const ControlErrorArgs& control_error_args) const override;
      34              : 
      35            0 :   WRAPPED_PUPable_decl_template(DeltaR);  // NOLINT
      36            0 :   explicit DeltaR(CkMigrateMessage* const /*msg*/) {}
      37              : };
      38              : }  // namespace control_system::size::States
        

Generated by: LCOV version 2.0-1