valuation of a variable at a fixed time Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » valuation of a variable at a fixed time « Previous Next »

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

ivan (ivanga)
New member
Username: ivanga

Post Number: 1
Registered: 12-2008
Posted on Wednesday, December 17, 2008 - 09:31 am:   

hi, i've a problem about calculation of the volume integral of a function calculated at a fixed time t0, for example:
vol_integral(C(@t=t0)) where c is a function of time and position

can you help me?? GOOD WORK!!
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 1196
Registered: 06-2003
Posted on Wednesday, December 17, 2008 - 02:28 pm:   

It depends on what you want to do with the result.

You can report it at a fixed time simply by specifying the time t0 in a PLOT TIME specification.

You can plot a history of the value and pick a number off the plot.

But if you want to preserve the number and use it later in the same computation, then things get more complicated. There is at present no mechanism for selectively saving values from prior times for later use. The only thing I can think of is to export the value and import it into a second script.
Top of pagePrevious messageNext messageBottom of page Link to this message

ivan (ivanga)
New member
Username: ivanga

Post Number: 2
Registered: 12-2008
Posted on Thursday, December 18, 2008 - 07:46 am:   

thank you a lot for the help!!! :-)

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