Skip to content

Commit

Permalink
Merge pull request #7 from bcube-project/fix_affine_system
Browse files Browse the repository at this point in the history
Fix AffineFESystem
  • Loading branch information
ghislainb authored Nov 24, 2023
2 parents 93e14b0 + 406b85d commit 2795e73
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Bcube.jl

[![](https://img.shields.io/badge/docs-release-blue.svg)](https://bcube-project.github.io/Bcube.jl)
[![](https://img.shields.io/badge/docs-release-blue.svg)](https://bcube-project.github.io/Bcube.jl) [![](https://img.shields.io/badge/docs-dev-blue.svg)](https://bcube-project.github.io/Bcube.jl/dev)

[![codecov](https://codecov.io/gh/bcube-project/Bcube.jl/branch/main/graph/badge.svg)](https://app.codecov.io/gh/bcube-project/Bcube.jl)
[![Build Status](https://github.com/bcube-project/Bcube.jl/workflows/CI/badge.svg)](https://github.com/bcube-project/Bcube.jl/actions)
Expand Down
9 changes: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
comment: false
3 changes: 2 additions & 1 deletion src/Bcube.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ using ForwardDiff
using LinearAlgebra
using WriteVTK
using Printf # just for tmp vtk, to be removed
import LinearSolve: solve, solve!
# import LinearSolve: solve, solve!, LinearProblem
import LinearSolve
using Symbolics # used for generation of Lagrange shape functions

const MAX_LENGTH_STATICARRAY = (10^6)
Expand Down
2 changes: 1 addition & 1 deletion src/assembler/affine_fe_system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function solve!(
apply_homogeneous_dirichlet!(A, b0, U, V, system.mesh)

# Inverse linear system
prob = LinearProblem(A, b0)
prob = LinearSolve.LinearProblem(A, b0)
sol = LinearSolve.solve(prob, alg)

# Update FEFunction
Expand Down

0 comments on commit 2795e73

Please sign in to comment.