-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infrastructure for padding the equation system
The extra equations from the boundary conditions will not always allow indexing as we did before, by e.g. doing cm_d = cp_d at the lower boundary for some BC:s. In order to generalize better, we instead pad the equation system with one line for each extra equation to allow more general BC specs. This had the advantage of significantly simplifying some of the code (and, even better, some of the concepts) required to implement new functionality, so even though some of the underlying infrastructure is now more complicated than before, new contributors will hopefully have a lower threshold to start adding features.
- Loading branch information
Tomas Lycken
committed
Dec 26, 2014
1 parent
535e54f
commit 0c98fef
Showing
2 changed files
with
70 additions
and
137 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