Skip to content

Support any data/matrix block-size combination in MatrixCSR insertion - #4698

Open
jorgensd wants to merge 1 commit into
mainfrom
dokken/nonsquare-matrix-csr-python-api
Open

jorgensd wants to merge 1 commit into
mainfrom
dokken/nonsquare-matrix-csr-python-api

Support any data/matrix block-size combination in MatrixCSR insertion

6d5308c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 3, 2026 in 38s

Annotations

Check failure on line 171 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT4y&open=AaGiFts5TNuzv_DTBT4y&pullRequest=4698

Check failure on line 241 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT41&open=AaGiFts5TNuzv_DTBT41&pullRequest=4698

Check warning on line 429 in cpp/dolfinx/la/MatrixCSR.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace alternative operator "and" with "&&".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFt3OTNuzv_DTBT46&open=AaGiFt3OTNuzv_DTBT46&pullRequest=4698

Check failure on line 109 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT4w&open=AaGiFts5TNuzv_DTBT4w&pullRequest=4698

Check warning on line 265 in python/test/unit/fem/test_assembler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this composite assertion into separate assertions.

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFt5tTNuzv_DTBT47&open=AaGiFt5tTNuzv_DTBT47&pullRequest=4698

Check warning on line 362 in cpp/dolfinx/la/MatrixCSR.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace alternative operator "and" with "&&".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFt3OTNuzv_DTBT45&open=AaGiFt3OTNuzv_DTBT45&pullRequest=4698

Check warning on line 140 in cpp/dolfinx/la/MatrixCSR.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace alternative operator "or" with "||".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFt3OTNuzv_DTBT43&open=AaGiFt3OTNuzv_DTBT43&pullRequest=4698

Check warning on line 73 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer free functions over member functions when handling objects of generic type "V".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT4v&open=AaGiFts5TNuzv_DTBT4v&pullRequest=4698

Check warning on line 141 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer free functions over member functions when handling objects of generic type "V".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT4x&open=AaGiFts5TNuzv_DTBT4x&pullRequest=4698

Check warning on line 76 in cpp/dolfinx/la/MatrixCSR.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Class has 36 methods, which is greater than the 35 authorized. Split it into smaller classes.

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFt3OTNuzv_DTBT42&open=AaGiFt3OTNuzv_DTBT42&pullRequest=4698

Check warning on line 171 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace alternative operator "or" with "||".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT40&open=AaGiFts5TNuzv_DTBT40&pullRequest=4698

Check warning on line 203 in cpp/dolfinx/la/MatrixCSR.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace alternative operator "or" with "||".

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFt3OTNuzv_DTBT44&open=AaGiFt3OTNuzv_DTBT44&pullRequest=4698

Check failure on line 177 in cpp/dolfinx/la/matrix_csr_impl.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=FEniCS_dolfinx&issues=AaGiFts5TNuzv_DTBT4z&open=AaGiFts5TNuzv_DTBT4z&pullRequest=4698