Coverage for python/src/dolfinx_mpc/__init__.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-04-03 13:59 +0000

1# Copyright (C) 2020 Jørgen Schartum Dokken 

2# 

3# This file is part of DOLFINX_MPC 

4# 

5# SPDX-License-Identifier: MIT 

6"""Main module for DOLFINX_MPC""" 

7 

8# flake8: noqa 

9from __future__ import annotations 

10 

11import dolfinx_mpc.cpp 

12 

13# New local assemblies 

14from .assemble_matrix import ( 

15 assemble_matrix, 

16 assemble_matrix_nest, 

17 create_matrix_nest, 

18 create_sparsity_pattern, 

19) 

20from .assemble_vector import ( 

21 apply_lifting, 

22 assemble_vector, 

23 assemble_vector_nest, 

24 create_vector_nest, 

25) 

26from .multipointconstraint import MultiPointConstraint 

27from .problem import LinearProblem 

28 

29__all__ = [ 

30 "assemble_matrix", 

31 "create_matrix_nest", 

32 "assemble_matrix_nest", 

33 "assemble_vector", 

34 "apply_lifting", 

35 "assemble_vector_nest", 

36 "create_vector_nest", 

37 "MultiPointConstraint", 

38 "LinearProblem", 

39 "create_sparsity_pattern", 

40]