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

Open-Sn / opensn / 21196332731

20 Jan 2026 08:32PM UTC coverage: 74.367% (-0.07%) from 74.437%
21196332731

push

github

web-flow
Merge pull request #891 from quocdang1998/angle-aggregation

Removing one level of std::vector in AngleAggregation

125 of 143 new or added lines in 5 files covered. (87.41%)

302 existing lines in 10 files now uncovered.

18745 of 25206 relevant lines covered (74.37%)

67731135.13 hits per line

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

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

4
#include "python/lib/py_app.h"
5
#include "mpicpp-lite/mpicpp-lite.h"
6
#include "petsc.h"
7
#include <cstdlib>
8
#include <iostream>
9

10
namespace mpi = mpicpp_lite;
11

12
int
NEW
13
main(int argc, char** argv) // NOLINT(bugprone-exception-escape)
×
14
{
NEW
15
  mpi::Environment env(argc, argv, mpi::ThreadSupport::MULTIPLE);
×
16

17
  PetscCall(PetscInitializeNoArguments()); // NOLINT(bugprone-casting-through-void)
×
18

19
  int retval = EXIT_SUCCESS;
×
20
  try
×
21
  {
22
    py::scoped_interpreter guard{};
×
23
    opensnpy::PyApp app(MPI_COMM_WORLD); // NOLINT(bugprone-casting-through-void)
×
24
    retval = app.Run(argc, argv);
×
25
  }
×
26
  catch (...)
×
27
  {
28
    std::cerr << "Unknown fatal error\n";
×
29
    retval = EXIT_FAILURE;
×
30
  }
×
31

32
  PetscFinalize();
×
33

34
  return retval;
35
}
×
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