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

FEniCS / ffcx / 19800646711

30 Nov 2025 02:58PM UTC coverage: 73.811% (-4.1%) from 77.933%
19800646711

Pull #803

github

schnellerhase
Add cpp package
Pull Request #803: Add `C++` backend

0 of 268 new or added lines in 10 files covered. (0.0%)

3740 of 5067 relevant lines covered (73.81%)

0.74 hits per line

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

0.0
/ffcx/codegeneration/cpp/file_template.py
1
# Code generation format strings for UFC (Unified Form-assembly Code)
2
# This code is released into the public domain.
3
#
4
# The FEniCS Project (http://www.fenicsproject.org/) 2018.
5
"""Templates for C++ file output."""
6

NEW
7
declaration_pre = """
×
8
// This code conforms with the UFC specification version {ufcx_version}
9
// and was automatically generated by FFCx version {ffcx_version}.
10
//
11
// This code was generated with the following options:
12
//
13
{options}
14

15
#pragma once
16
#include <cmath>
17
#include <vector>
18

19
"""
20

NEW
21
declaration_post = """
×
22
"""
23

NEW
24
implementation_pre = """
×
25
// This code conforms with the UFC specification version {ufcx_version}
26
// and was automatically generated by FFCx version {ffcx_version}.
27
//
28
// This code was generated with the following options:
29
//
30
{options}
31

32
#include <cmath>
33
#include <ufcx.h>
34
{extra_includes}
35

36
"""
37

NEW
38
implementation_post = ""
×
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