rifread - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DEtools

  

rifread

  

load intermediate computation as saved using the 'store' options of rifsimp

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

rifread(filename)

Parameters

filename

-

(optional) name of the file containing the partial rifsimp computation.

Description

• 

The rifread command loads a partial rifsimp computation that was run using the store or storeall options (see rifsimp[adv_options]).

  

The storage options are most useful for large or complex computations, where the resources required to complete the computation may exceed the capability of the machine. The state of the system at the last iteration  (using store), or at all previous iterations and/or cases (using storeall), can be retrieved using this command.

  

When called with no arguments, the file "RifStorage.m" is used. This is the default file name for use with the store option of rifsimp. If a file name was specified for the rifsimp run, or if the storeall option was used (storing all iterations and/or cases in separate files), the file name must be included in the rifread command.

• 

Please note that the system obtained using rifread is not in final form and may have redundant equations or unresolved integrability conditions.

Examples

withDEtools:

Consider the following system, run with rifsimp.

sys1diffξx,y,y,y,diffηx,y,y,y2diffξx,y,x,y,3y2diffξx,y,y+2diffηx,y,x,ydiffξx,y,x,x,2ηx,yy2y2diffξx,y,x+y2diffηx,y,y+diffηx,y,x,x

sys12y2ξx,y,2y2ηx,y22xyξx,y,3y2yξx,y+22xyηx,y2x2ξx,y,2ηx,yy2y2xξx,y+y2yηx,y+2x2ηx,y

(1)

ans1rifsimpsys1,ξ,η,store

ans1tableSolved=xξx,y=ηx,y2y,xηx,y=0,yξx,y=0,yηx,y=ηx,yy

(2)

Partial results can be obtained using rifread, even if the full computation did not succeed (notice the presence of the redundant equation ηyy=0).

temp1rifread

temp1tableSolved=yξx,y=0,2y2ηx,y=0,xηx,y=0,xξx,y=ηx,y2y,yηx,y=ηx,yy

(3)

Note that the results obtained above were stored in the file "RifStorage.m".

The same example can have results stored under a different name. Here the temp results are stored in "tmpstore.m":

ans1rifsimpsys1,ξ,η,store=tmpstore

ans1tableSolved=xξx,y=ηx,y2y,xηx,y=0,yξx,y=0,yηx,y=ηx,yy

(4)

temp1rifreadtmpstore

temp1tableSolved=yξx,y=0,2y2ηx,y=0,xηx,y=0,xξx,y=ηx,y2y,yηx,y=ηx,yy

(5)

It is also possible to store the results at the end of each iteration and for each separate case using storeall. Increasing the infolevel will display the file name as each partial calculation is saved.

sys2diffξx,y,yydiffξx,y,y,yy2,ηx,y2diffξx,y,x,yy2+diffηx,y,y,yy2diffηx,y,yy2diffξx,y,yy+2diffξx,y,yay2,2ydiffηx,y,xdiffξx,y,x,xy2+2diffηx,y,x,yy2+ηx,ydiffξx,y,xy+diffξx,y,xay2+3y3diffξx,y,ya23y4diffξx,y,yb23y5diffξx,y,yb2+3y2diffξx,y,ya2,diffηx,y,x,xy2+y2diffηx,y,xaydiffηx,y,x+2y3diffξx,y,xa22y4diffξx,y,xb2y3diffηx,y,ya2+y4diffηx,y,yb2+ηx,yy2a22ηx,yy3b2y2diffηx,y,ya23ηx,yy4b22y5diffξx,y,xb2+2y2diffξx,y,xa2+y5diffηx,y,yb2

sys2yξx,yy2y2ξx,yy2,ηx,y22xyξx,yy2+2y2ηx,yy2yηx,yy2yξx,yy+2yξx,yay2,2yxηx,y2x2ξx,yy2+22xyηx,yy2+ηx,yxξx,yy+xξx,yay2+3y3yξx,ya23y4yξx,yb23y5yξx,yb2+3y2yξx,ya2,2x2ηx,yy2+y2xηx,yayxηx,y+2y3xξx,ya22y4xξx,yb2y3yηx,ya2+y4yηx,yb2+ηx,yy2a22ηx,yy3b2y2yηx,ya23ηx,yy4b22y5xξx,yb2+2y2xξx,ya2+y5yηx,yb2

(6)

If infolevel is set to a greater integer (possible settings are 1 through 5), more detailed information about the computation method is displayed.

infolevelrifsimp1

infolevelrifsimp1

(7)

rrrifsimpsys2,ξ,η,storeall,casesplit

      Storing current system in RifStorage_1_1.mStoring current system in RifStorage_1_2.m
      Storing current system in RifStorage_1_3.m
      Storing current system in RifStorage_1_4.m
      Storing current system in RifStorage_1_5.m
      Storing current system in RifStorage_1_6.m
      Storing current system in RifStorage_1_7.m
      Storing current system in RifStorage_1_8.m
      Storing current system in RifStorage_1_9.m
      Storing current system in RifStorage_1_10.m
      Storing current system in RifStorage_1_11.m
      Storing current system in RifStorage_1_12.m
      Storing current system in RifStorage_1_13.m
      Storing current system in RifStorage_1_14.m
      Storing current system in RifStorage_2_13.m
      Storing current system in RifStorage_2_14.m
      Storing current system in RifStorage_2_15.m
      Storing current system in RifStorage_3_14.m
      Storing current system in RifStorage_3_15.m
      Storing current system in RifStorage_3_16.m
      Storing current system in RifStorage_4_15.m

The system has been identified as follows:

The system has the following dependent variables:

ξ,η

The system has the following independent variables:

x,y

The system has the following constants:

a,b

The following are to be treated as solve variables:

ξ,η,a,b

rrtable1=tableSolved=xξx,y=0,yξx,y=0,ηx,y=0,Case=b0,ηx,y,Pivots=b0,2=tableSolved=xξx,y=0,yξx,y=0,ηx,y=0,b=0,Case=b=0,ηx,y,aa10,ηx,y,Pivots=a0,a10,3=tableSolved=xξx,y=0,yξx,y=0,ηx,y=0,a=1,b=0,Case=b=0,ηx,y,aa1=0,ηx,y,a0,ηx,y,4=tableSolved=xξx,y=ηx,yy,xηx,y=0,yξx,y=0,yηx,y=ηx,yy,a=0,b=0,Case=b=0,ηx,y,aa1=0,ηx,y,a=0,ηx,y,casecount=4

(8)

rifreadRifStorage_2_13

tableSolved=yξx,y=0,b=0,xξx,y=ηx,yy,xηx,y=a3a2ηx,y,yηx,y=ηx,yy,DiffConstraint=0=ηx,yaa1,0=ηx,yaa1,0=ηx,yaa1,0=ηx,ya9a3y9a2y+4ay2a+2

(9)

A description of the meaning of each entry appearing in the output tables can be found on the rifsimp[output] page.

See Also

infolevel

rifsimp

rifsimp[adv_options]

rifsimp[options]

rifsimp[output]

rifsimp[overview]