Skip to content

How to access grid coordinates when defining the evolution_rate of a customed PDE class? #566

Answered by david-zwicker
mynanshan asked this question in Q&A
Discussion options

You must be logged in to vote

You can use state.grid.axes_coords, state.grid.cell_coords, or state.grid.coordinate_arrays; see the documentation for the exact details.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mynanshan
Comment options

@david-zwicker
Comment options

Answer selected by mynanshan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants