Coverage report:
89%
hide covered
Files
Functions
Classes
coverage.py v7.8.0
, created at 2025-04-03 13:59 +0000
File
function
statements
missing
excluded
coverage
python/src/dolfinx_mpc/__init__.py
(no function)
7
0
0
100%
python/src/dolfinx_mpc/assemble_matrix.py
assemble_matrix
14
0
0
100%
python/src/dolfinx_mpc/assemble_matrix.py
create_sparsity_pattern
7
4
0
43%
python/src/dolfinx_mpc/assemble_matrix.py
create_matrix_nest
9
0
0
100%
python/src/dolfinx_mpc/assemble_matrix.py
assemble_matrix_nest
5
0
0
100%
python/src/dolfinx_mpc/assemble_matrix.py
(no function)
12
0
0
100%
python/src/dolfinx_mpc/assemble_vector.py
apply_lifting
11
0
0
100%
python/src/dolfinx_mpc/assemble_vector.py
assemble_vector
8
0
0
100%
python/src/dolfinx_mpc/assemble_vector.py
create_vector_nest
3
0
0
100%
python/src/dolfinx_mpc/assemble_vector.py
assemble_vector_nest
5
0
0
100%
python/src/dolfinx_mpc/assemble_vector.py
(no function)
17
0
0
100%
python/src/dolfinx_mpc/dictcondition.py
close_to
1
0
0
100%
python/src/dolfinx_mpc/dictcondition.py
create_dictionary_constraint
119
3
0
97%
python/src/dolfinx_mpc/dictcondition.py
(no function)
9
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MPCData.__init__
9
9
0
0%
python/src/dolfinx_mpc/multipointconstraint.py
MPCData.slaves
1
1
0
0%
python/src/dolfinx_mpc/multipointconstraint.py
MPCData.masters
1
1
0
0%
python/src/dolfinx_mpc/multipointconstraint.py
MPCData.coeffs
1
1
0
0%
python/src/dolfinx_mpc/multipointconstraint.py
MPCData.owners
1
1
0
0%
python/src/dolfinx_mpc/multipointconstraint.py
MPCData.offsets
1
1
0
0%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.__init__
8
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.add_constraint
8
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.add_constraint_from_mpc_data
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.finalize
14
6
0
57%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.create_periodic_constraint_topological
9
1
0
89%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.create_periodic_constraint_geometrical
9
3
0
67%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.create_slip_constraint
8
1
0
88%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.create_general_constraint
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.create_contact_slip_condition
4
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.create_contact_inelastic_condition
4
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.is_slave
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.slaves
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.masters
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.coefficients
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.num_local_slaves
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.cell_to_slaves
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.function_space
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.backsubstitution
7
4
0
43%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint.homogenize
2
0
0
100%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint._already_finalized
2
1
0
50%
python/src/dolfinx_mpc/multipointconstraint.py
MultiPointConstraint._not_finalized
2
1
0
50%
python/src/dolfinx_mpc/multipointconstraint.py
(no function)
66
0
0
100%
python/src/dolfinx_mpc/problem.py
LinearProblem.__init__
29
1
0
97%
python/src/dolfinx_mpc/problem.py
LinearProblem.solve
14
0
0
100%
python/src/dolfinx_mpc/problem.py
(no function)
24
0
0
100%
python/src/dolfinx_mpc/utils/__init__.py
(no function)
4
0
0
100%
python/src/dolfinx_mpc/utils/mpc_utils.py
rotation_matrix
7
0
0
100%
python/src/dolfinx_mpc/utils/mpc_utils.py
facet_normal_approximation
55
6
0
89%
python/src/dolfinx_mpc/utils/mpc_utils.py
log_info
5
0
0
100%
python/src/dolfinx_mpc/utils/mpc_utils.py
rigid_motions_nullspace
29
0
0
100%
python/src/dolfinx_mpc/utils/mpc_utils.py
determine_closest_block
57
7
0
88%
python/src/dolfinx_mpc/utils/mpc_utils.py
create_point_to_point_constraint
87
20
0
77%
python/src/dolfinx_mpc/utils/mpc_utils.py
create_normal_approximation
4
0
0
100%
python/src/dolfinx_mpc/utils/mpc_utils.py
(no function)
22
0
0
100%
python/src/dolfinx_mpc/utils/test.py
_gather_slaves_global
11
0
0
100%
python/src/dolfinx_mpc/utils/test.py
gather_constants
12
12
0
0%
python/src/dolfinx_mpc/utils/test.py
gather_transformation_matrix
44
4
0
91%
python/src/dolfinx_mpc/utils/test.py
petsc_to_local_CSR
7
7
0
0%
python/src/dolfinx_mpc/utils/test.py
gather_PETScMatrix
10
0
0
100%
python/src/dolfinx_mpc/utils/test.py
gather_PETScVector
7
1
0
86%
python/src/dolfinx_mpc/utils/test.py
compare_CSR
2
0
0
100%
python/src/dolfinx_mpc/utils/test.py
compare_mpc_lhs
19
0
0
100%
python/src/dolfinx_mpc/utils/test.py
compare_mpc_rhs
11
0
0
100%
python/src/dolfinx_mpc/utils/test.py
(no function)
18
0
0
100%
Total
880
96
0
89%
No items found using the specified filter.