SpECTRE Documentation Coverage Report
 Current view: top level - Domain/FunctionsOfTime - ReadSpecPiecewisePolynomial.hpp Hit Total Coverage Commit: 9f349d3c09e1c03107f00c2135ca40e209d3b84c Lines: 3 4 75.0 % Date: 2023-06-09 21:05:06 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 7 : #include 8 : #include 9 : #include 10 : #include 11 : 12 1 : namespace gsl { 13 : template 14 : class not_null; 15 : } // namespace gsl 16 : 17 : namespace domain::FunctionsOfTime { 18 : template 19 : class PiecewisePolynomial; 20 : class FunctionOfTime; 21 : 22 : /// \brief Import SpEC `FunctionOfTime` data from an H5 file. 23 : /// 24 : /// Columns in the file to be read must have the following form: 25 : /// - 0 = time 26 : /// - 1 = time of last update 27 : /// - 2 = number of components 28 : /// - 3 = maximum derivative order 29 : /// - 4 = version 30 : /// - 5 = function 31 : /// - 6 = d/dt (function) 32 : /// - 7 = d^2/dt^2 (function) 33 : /// - 8 = d^3/dt^3 (function) 34 : /// 35 : /// If the function has more than one component, columns 5-8 give 36 : /// the first component and its derivatives, columns 9-12 give the second 37 : /// component and its derivatives, etc. 38 : /// 39 : /// Currently, only support order 2 and 3 piecewise polynomials and order 3 40 : /// quaternion functions of time. This could be generalized later, but the SpEC 41 : /// functions of time that we will read in with this action will always be 42 : /// 3rd-order piecewise polynomials. 43 : /// 44 : template

 Generated by: LCOV version 1.14