Skip to content

Changing yup() and ydown() to nullptr#296

Merged
ZedThree merged 2 commits intonextfrom
next-yupdown-null
Oct 11, 2016
Merged

Changing yup() and ydown() to nullptr#296
ZedThree merged 2 commits intonextfrom
next-yupdown-null

Conversation

@bendudson
Copy link
Contributor

o By default, fields are now created with null yup() and ydown() fields.
Previously these pointed to the field, so could easily result
in the wrong values being calculated without error. Now if a parallel derivative
is taken an error will occur

o If CHECK >= 2 then yup() and ydown() are checked, and an exception thrown
indicating that they are not valid

o Modified some operators:

b0xGrad_dot_Grad - Here extra communications are currently needed
to set the yup() and ydown() fields of the velocity
fields. These values are not used in VDDX routines
so this doesn't need to be done.

Div_par - Does some manipulation of the yup() and ydown() fields
to introduce the factor of 1/B without communications.

o Removed some communications from elm-pb example. Mostly by removing factors of B0
which I don't think should be there

o By default, fields are now created with null yup() and ydown() fields.
  Previously these pointed to the field, so could easily result
  in the wrong values being calculated without error. Now if a parallel derivative
  is taken an error will occur

o If CHECK >= 2 then yup() and ydown() are checked, and an exception thrown
  indicating that they are not valid

o Modified some operators:

   b0xGrad_dot_Grad  - Here extra communications are currently needed
                       to set the yup() and ydown() fields of the velocity
                       fields. These values are not used in VDDX routines
                       so this doesn't need to be done.

   Div_par  - Does some manipulation of the yup() and ydown() fields
              to introduce the factor of 1/B without communications.

o Removed some communications from elm-pb example. Mostly by removing factors of B0
  which I don't think should be there
o Needed additional communicate on pe, pei

o runtest wasn't deleting old output files, so passed
  if crashed before overwriting old outputs

o Changed Y derivatives to C2 from C4
@ZedThree ZedThree merged commit 8c6ff76 into next Oct 11, 2016
@ZedThree ZedThree deleted the next-yupdown-null branch October 11, 2016 15:39
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.

2 participants