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

Open-Sn / opensn / 16821314466

07 Aug 2025 04:57PM UTC coverage: 74.527% (+1.0%) from 73.488%
16821314466

push

github

web-flow
Merge pull request #708 from wdhawkins/curvilinear_warning

Adding experimental warning to curvilinear solver

3 of 3 new or added lines in 1 file covered. (100.0%)

250 existing lines in 17 files now uncovered.

17543 of 23539 relevant lines covered (74.53%)

44793362.81 hits per line

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

0.0
/framework/physics/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
class TimeStepper;
14

15
/**
16
 * \defgroup SolverBase Base class for all solvers
17
 * \ingroup doc_PhysicsSolver
18
 */
19
class Solver
20
{
21
public:
22
  /// Returns the input parameters.
23
  static InputParameters GetInputParameters();
24
  explicit Solver(std::string name);
25
  explicit Solver(const InputParameters& params);
UNCOV
26
  virtual ~Solver() = default;
×
27

28
  std::string GetName() const;
29

30
  TimeStepper& GetTimeStepper();
31
  const TimeStepper& GetTimeStepper() const;
32

33
  /// Initialize function.
34
  virtual void Initialize();
35

36
  /// Execution function.
37
  virtual void Execute();
38

39
  /// Step function*/
40
  virtual void Step();
41

42
  /// Advance time values function.
43
  virtual void Advance();
44

45
  /// Generalized query for information supporting varying returns.
46
  virtual ParameterBlock GetInfo(const ParameterBlock& params) const;
47

48
  /// PreCheck call to GetInfo.
49
  ParameterBlock GetInfoWithPreCheck(const ParameterBlock& params) const;
50

51
private:
52
  const std::string name_;
53
};
54

55
} // 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