SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/Cce - ExtractionRadius.hpp Hit Total Coverage
Commit: f23e75c235cae5144b8ac7ce01280be5b8cd2c8a Lines: 2 3 66.7 %
Date: 2024-09-07 06:21:00
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 <optional>
       7             : #include <string>
       8             : 
       9             : namespace Cce {
      10             : /// @{
      11             : /*!
      12             :  * \brief Retrieves the extraction radius from the specified file name.
      13             :  *
      14             :  * \details We assume that the filename has the extraction radius encoded as an
      15             :  * integer between the last occurrence of 'R' and the last occurrence of '.'.
      16             :  * This is the format provided by SpEC.
      17             :  */
      18           1 : std::string get_text_radius(const std::string& cce_data_filename);
      19             : 
      20           1 : std::optional<double> get_extraction_radius(
      21             :     const std::string& cce_data_filename,
      22             :     const std::optional<double>& extraction_radius, bool error = true);
      23             : /// @}
      24             : }  // namespace Cce

Generated by: LCOV version 1.14