Commit 6ce05ef
committed
Generalizes injectivity line search
Transforms the `β` parameter in the injectivity-preserving line search from a constant `Float64` to a `CellField`. This change allows `β` to potentially vary across the computational domain, enhancing the flexibility of the injectivity preservation criterion. The constructor now ensures `β` is stored as a `CellField`, converting scalar inputs as needed, and `update_cellstate!` adapts its usage accordingly.β parameter1 parent 93e0da6 commit 6ce05ef
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
0 commit comments