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

Open-Sn / opensn / 18300593117

06 Oct 2025 10:47PM UTC coverage: 74.862% (-0.2%) from 75.031%
18300593117

push

github

web-flow
Merge pull request #759 from wdhawkins/performance

Sweep performance optimizations

294 of 302 new or added lines in 15 files covered. (97.35%)

334 existing lines in 80 files now uncovered.

17788 of 23761 relevant lines covered (74.86%)

61852783.95 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 <cstdio>
7
#include <cstdlib>
8
#include "petsc.h"
9

10
namespace mpi = mpicpp_lite;
11

12
int
13
main(int argc, char** argv)
×
14
{
15
  mpi::Environment env(argc, argv);
×
16

17
  PetscCall(PetscInitializeNoArguments());
×
18

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

32
  PetscFinalize();
×
33

UNCOV
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