Closed TrestanSimon closed 1 year ago
Since this hasn't been active for a while, I'm going to close. Feel free to re-open (this feature would be very welcome!) a new PR in the future which addresses my comments at https://github.com/dstansby/pfsspy/pull/357#pullrequestreview-1095129671
This PR adds the option to solve using an arbitrary map for the outer boundary condition on
br
, a functionality which is already present in Anthony Yeates's original code. Here, it is implemented in a similar manner. (For mathematical details, see the text following Equation 24 in the "Notes on the Numerical Methods" document.)An example use would be as follows:
This should give a solution where the outer boundary condition is the same source field as the inner. Alternatively, allowing
br1=0*gong_map.data
should give an outer boundary condition where the source field Br is always zero. This latter example may be useful to some, e.g., Caplan et al 2021.