Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 66 by
patrick....@gmail.com: Incorrect Calculation of Battery
Term in magnetic.f90
http://code.google.com/p/pencil-code/issues/detail?id=66
What steps will reproduce the problem?
Not applicable.
What is the expected output? What do you see instead?
Not applicable.
Please provide any additional information below.
Line 3064 in file magnetic.f90 is incorrect, as noted by Professor
Brandenburg. Line 3065 (containing the df update) should then read
df(l1:l2,m,n,iax:iaz) = df(l1:l2,m,n,iax:iaz) + battery_term*p%fpres only,
as we are solving for A and not B, again as noted by Professor Brandenburg.
What version of the product are you using? On what operating system?
Pencil code revision 19590, Ubuntu 12.04 LTS.