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

FEniCS / ffcx / 20002766017

07 Dec 2025 10:19AM UTC coverage: 79.933% (-4.5%) from 84.457%
20002766017

Pull #803

github

schnellerhase
Move macro definition to file template
Pull Request #803: Add `C++` backend

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

4059 of 5078 relevant lines covered (79.93%)

0.8 hits per line

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

0.0
/ffcx/codegeneration/cpp/form.py
1
# Copyright (C) 2009-2017 Anders Logg and Martin Sandve Alnæs
2
#
3
# This file is part of FFCx.(https://www.fenicsproject.org)
4
#
5
# SPDX-License-Identifier:    LGPL-3.0-or-later
6

7
# Note: Most of the code in this file is a direct translation from the
8
# old implementation in FFC
9
"""Generate code for a form."""
10

NEW
11
import logging
×
12

13
# from ffcx.codegeneration.cpp import form_template
14

NEW
15
logger = logging.getLogger("ffcx")
×
16

17

NEW
18
def generator(ir, options):
×
19
    """Generate UFC code for a form."""
NEW
20
    logger.info("Generating code for form:")
×
NEW
21
    logger.info(f"--- rank: {ir.rank}")
×
NEW
22
    logger.info(f"--- name: {ir.name}")
×
23

NEW
24
    return ("", "")
×
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