• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Open-Sn / opensn / 20185909776

12 Dec 2025 06:55PM UTC coverage: 74.333% (+0.3%) from 74.037%
20185909776

push

github

web-flow
Merge pull request #859 from wdhawkins/td_source_driver

Adding time-dependent solver and time-dependent sources

367 of 398 new or added lines in 23 files covered. (92.21%)

113 existing lines in 28 files now uncovered.

18610 of 25036 relevant lines covered (74.33%)

68947552.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/modules/solver.h
1
// SPDX-FileCopyrightText: 2024 The OpenSn Authors <https://open-sn.github.io/opensn/>
2
// SPDX-License-Identifier: MIT
3

4
#pragma once
5

6
#include "framework/parameters/input_parameters.h"
7
#include <iostream>
8
#include <utility>
9

10
namespace opensn
11
{
12
class FieldFunctionGridBased;
13

14
class Solver
15
{
16
public:
17
  explicit Solver(std::string name);
18
  explicit Solver(const InputParameters& params);
UNCOV
19
  virtual ~Solver() = default;
×
20

21
  std::string GetName() const;
22

23
  /// Initialize function.
24
  virtual void Initialize();
25

26
  /// Execution function.
27
  virtual void Execute();
28

29
  /// Advance time values function.
30
  virtual void Advance();
31

32
  /// Generalized query for information supporting varying returns.
33
  virtual ParameterBlock GetInfo(const ParameterBlock& params) const;
34

35
  /// PreCheck call to GetInfo.
36
  ParameterBlock GetInfoWithPreCheck(const ParameterBlock& params) const;
37

38
private:
39
  const std::string name_;
40

41
public:
42
  /// Returns the input parameters.
43
  static InputParameters GetInputParameters();
44
};
45

46
} // namespace opensn
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc