-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fieldsplit: replace empty Forms with ZeroBaseForm (#3947)
* Restricted Cofunction RHS * Fix BCs on Cofunction * LinearSolver: check function spaces * assemble(form, zero_bc_nodes=True) as default * Fix FunctionAssignBlock * Allow Cofunction.assign take in constants * remove BaseFormAssembler test * only supply relevant kwargs to OneFormAssembler * Only interpolate the residual, not every cofunction in the RHS * Fix tests * Fix adjoint utils * More robust test for (unrestricted) Cofunction RHS * Replace empty Jacobians with ZeroBaseForm * Do not split off-diagonal blocks if we only want the diagonal * Zero-simplify slate Tensors * set bcs directly on diagonal Cofunction * ImplicitMatrixContext: handle empty action * Only extract constants referenced in the kernel * Adjoint: only skip expand_derivatives if necessary * EquationBC: do not reconstruct empty Forms * lower degree for EquationBC tests * Update .github/workflows/build.yml
- Loading branch information
Showing
27 changed files
with
310 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.