I am using PDE solver in matlab, but I need access to region and state structures of PDE model. is there a way?

5 vues (au cours des 30 derniers jours)
I am using PDE solver in matlab, but I need to have access to region and state structures of PDE model. is there a way to do that?

Réponses (1)

Ravi Kumar
Ravi Kumar le 14 Fév 2018
The structure arrays, region and state, are run-time variables passed into user defined function. You can use them to write your own functions to model non-constant inputs, such as BCs and coefficient that depends on spatial coordinates and solution itself. But, they are not available before you invoke the solver. What do you mean by having access to them? Maybe if you would outline what are your end goals, then someone might suggest a workaround to achieve them.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by