Initialization Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Initialization « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

mdr
Member
Username: mdr

Post Number: 4
Registered: 04-2008
Posted on Friday, May 21, 2010 - 02:46 pm:   

I was noticing in the manual that there are no forward references as regards to variable definitions. If I am defining a number of variables in the "definitions" section in terms of a variable that doesn't get initialized until the "initial values" section, is this going to be an issue only for the first time step, or for the entire problem? If it's an issue for the entire problem, what's the best workaround? The expressions are extremely complicated, which is why I didn't write everything out in the "equations" section. I can do this if there is some way to write input across lines. Thanks!
Top of pagePrevious messageNext messageBottom of page Link to this message

rgnelson
Moderator
Username: rgnelson

Post Number: 1365
Registered: 06-2003
Posted on Saturday, May 22, 2010 - 07:56 pm:   

The FlexPDE scripting language is not a procedural language. Instead, it defines the components of the PDE system. FlexPDE then decides the solution algorithm and the order and timing of evaluation.

You must define names before you refer to them, but position in the script bears no relation to the order of evaluation.

The input is free-form; spaces and line breaks are equivalent. You can write an expression across several lines. See the documentation and examples.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration