Page 1 of 1

What is idjr in uselrc.f90

Posted: Thu Mar 26, 2015 2:12 am
by husanhao
Hi, could anyone please tell me what is the meaning of idjr ?
I found that idjr in the line 169 of the subroutine "uselrc.f90", however, I tried to search idjr in the user manual. I would like to know what is the meaning of idjr, thanks.

ipcdc1 = ipproc(idjr(1))

Thanks for your help.
Best Regards
Eric

Re: What is idjr in uselrc.f90

Posted: Thu Mar 26, 2015 9:33 am
by Brian Angel
Hello,

If you cannot find a particular variable name in the different user guides, it is often informative to execute the "grep -R" command in the source code directories to try to find what one is looking for.

I have just executed "grep -R idjr ." in the source code directory. The variable idjr is defined in the elec source code directory in the routine elprop.f90. In this routine it states that idjr is the imaginary electric current density in A/m^2.

Best regards,

Brian Angel.

Re: What is idjr in uselrc.f90

Posted: Thu Mar 26, 2015 4:36 pm
by husanhao
Dear Brian Angel,

I got it, thanks for your reply :D

Best Regards
Eric

Re: What is idjr in uselrc.f90

Posted: Fri Mar 27, 2015 11:01 am
by Brian Angel
Hello,

Okay, good that you have found it. Another way to search for variables is to:

- click on "Documentation" on the Code_Saturne home page
- then click on the link "Doxygen" on the panel "Documentation"
- below the title Documentation, click on "Doxygen Code_Saturne Documentation Link"

This last click will open up the "Code_Saturne Documentation" page. There you can search and find explanations for all the variables used by Code_Saturne.

Best regards,

Brian Angel.

Re: What is idjr in uselrc.f90

Posted: Sat Mar 28, 2015 8:44 pm
by husanhao
Dear Brian Angel,

Thank you again!!!

Best Regards
Eric