Recent content by ydonna1990

  1. ydonna1990

    Fortran Understanding IERR (FORTRAN): Error Detection & More

    O.K. Thanks. What about this nCtrl here. I googled and found that it means node control. What does that mean? DO jj=1,nCtrl WRITE(30,*)g_best(jj) ENDDO do j=1,p_num WRITE(520,*)ii,gf_best enddo ENDDO
  2. ydonna1990

    Fortran Understanding IERR (FORTRAN): Error Detection & More

    You are absolutely right. It doesn't run actually. I was given an assignment to fix this and make it run. I am really new to this so I am pretty much clueless. Do you think you can help me in private?
  3. ydonna1990

    Fortran Understanding IERR (FORTRAN): Error Detection & More

    Thank you for your detailed reply. So that leads me to ask some more questions. DO READ(11,'(a)',iostat=IERR)line so I guess this means read the line 11 and test the IERR value there. What is this "(a)" for? IF ((line(1:2)/='--').and.(line/=' '))THEN...
  4. ydonna1990

    Fortran Understanding IERR (FORTRAN): Error Detection & More

    DO READ(11,'(a)',iostat=IERR)line IF ((line(1:2)/='--').and.(line/=' '))THEN READ(line,*,iostat=IERR) posinumber EXIT ENDIF ENDDO What is IERR? Is it related to error? I couldn't find any good answer researching online. Thanks in advance
  5. ydonna1990

    Fortran Fortran Beginner: What is iostat=stat & buf Argument?

    SUBROUTINE ConProdOpt(Iphi_in,Ilnkx_in,Ilnky_in,Ilnkz_in,FirstRun_in,Neindx_in) IMPLICIT NONE INTEGER,buf ::Iphi_in,Ilnkx_in,Ilnky_in,Ilnkz_in,FirstRun_in I saw it everywhere earlier but for some reason I can't find it and now I can only find this one.
  6. ydonna1990

    Fortran Fortran Beginner: What is iostat=stat & buf Argument?

    Thanks for the reply. if (userdefine==0) then open(100,file='COORD.DAT',iostat=stat) if(stat==0)then read(100,'(a)',iostat=stat)line read(100,'(a)',iostat=stat)line if ((line(1:2)/='--').and.(line/=' ').and.(line(1:5)/='COORD'))then
  7. ydonna1990

    Fortran Fortran Beginner: What is iostat=stat & buf Argument?

    Hello. I am a beginner in the Fortran language and I want to know what isotat=stat means. also what is exactly the "buf argument"?
  8. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    Alright. Do you think it'd be ok if I pm you some time later? (currently I am working on something). You are kind. I really appreciate your help.
  9. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    CAS is part of geogebra. I just downloaded it and I am looking at it now. O.K. I will do that.
  10. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    It's great. Thank you. I am trying it out now. I am trying to use CAS but it doesn't seem to plot. Any ideas?
  11. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    Well, one name, two names, three names. Happy to be given a list eventually. I will def check out Gnuplot and Maple.
  12. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    The equation is 2(x^2+y^2)^2=25(x^2-y^2). I wrote my post in a hurry and didn't see the error until now. Also as for the usage of the word "must", it could have easily been replaced with words like "could, should, may", etc. It's just a technicality. I apologize if you misunderstood. Thanks...
  13. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    The example that I posted is Lemniscate's equation in Cartesian coordinates. Please refer to https://en.wikipedia.org/wiki/Lemniscate_of_Bernoulli Anyway, I have the equations and I would like to draw the curves. And as you said, I know that there are many software programs available. Can you...
  14. ydonna1990

    How to draw curves (cardioid, lemniscate, devil's curve)?

    Hi everyone, Thanks for visiting my post. I was wondering if you guys know what kind of software I must use to draw complicated curves. I already have the equations. For example, for lemniscate I would use following: 2(x^2+y^2)=25(x^2-y^2) I appreciate the help.
Back
Top