Issue 66 in pencil-code: Incorrect Calculation of Battery Term in magnetic.f90

1 view
Skip to first unread message

penci...@googlecode.com

unread,
Sep 29, 2012, 5:12:44 PM9/29/12
to pencil-co...@googlegroups.com
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.

Reply all
Reply to author
Forward
0 new messages