File: __init__.py

package info (click to toggle)
dolfinx-mpc 0.5.0.post0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,112 kB
  • sloc: python: 5,998; cpp: 5,196; makefile: 67
file content (23 lines) | stat: -rw-r--r-- 1,071 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (C) 2020 Jørgen Schartum Dokken
#
# This file is part of DOLFINX_MPC
#
# SPDX-License-Identifier:    MIT
"""Helper functions for tests in Dolfinx mpc"""

# flake8: noqa

from .test import (compare_CSR, compare_mpc_lhs, compare_mpc_rhs,
                   gather_constants, gather_PETScMatrix, gather_PETScVector,
                   gather_transformation_matrix, get_assemblers)
from .mpc_utils import (create_normal_approximation,
                        create_point_to_point_constraint, determine_closest_block,
                        facet_normal_approximation, log_info,
                        rigid_motions_nullspace, rotation_matrix)

__all__ = ["get_assemblers", "gather_PETScVector", "gather_PETScMatrix", "compare_mpc_lhs",
           "compare_mpc_rhs", "gather_transformation_matrix", "compare_CSR", "gather_constants",
           "rotation_matrix", "facet_normal_approximation",
           "log_info", "rigid_motions_nullspace",
           "determine_closest_block", "create_normal_approximation",
           "create_point_to_point_constraint"]