-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for plotting 1D function (#2250)
* add support for plotting 1D function * allow more than one variable * add a test * format * format * simplify * add comment * function -> method * add support for 1D StructuredMesh and 1D DGMulti * specialize method for 1D meshes * format * Apply suggestions from code review Co-authored-by: Hendrik Ranocha <[email protected]> * always use solution_variables = cons2cons * don't pass variable_names to recipe (title can be changed by `title`) * fix plotting scalar function for DGMulti * fix for StructuredMesh * Update src/visualization/types.jl Co-authored-by: Hendrik Ranocha <[email protected]> * fix comment * clarify output of function --------- Co-authored-by: Hendrik Ranocha <[email protected]>
- Loading branch information
1 parent
06e8a20
commit c24ce91
Showing
4 changed files
with
115 additions
and
15 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