Skip to content

Carry signgs in chi - #12

Open
CharlesCNorton wants to merge 1 commit into
jonathanschilling:masterfrom
CharlesCNorton:fix/chi-signgs
Open

Carry signgs in chi#12
CharlesCNorton wants to merge 1 commit into
jonathanschilling:masterfrom
CharlesCNorton:fix/chi-signgs

Conversation

@CharlesCNorton

Copy link
Copy Markdown
Contributor

Fixes #5.

chi is accumulated in eqfor.f90 without signgs, while phi (fileout.f90:61) and the phipf and chipf written by wrout all carry it, so the file held chi = -∫ iota dphi. The factor is added where chi is formed from chi1.

Checked with input.cth_like_fixed_bdy: chi(ns) changes from +0.040086 to -0.040086, the value of Σ iotas(js) phipf(js) hs, and no other wout variable changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chi is written without the signgs factor carried by phi, phipf and chipf

1 participant