Skip to content

Commit e53bc20

Browse files
authored
Add vector potentiel to pydefix (#361)
* add vector potential indices to pydefix
1 parent 52b6c97 commit e53bc20

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/output/dump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void Dump::CreateMPIDataType(GridBox gb, bool read) {
7171
int size[3];
7272
int subsize[3];
7373

74-
// the grid is required to now the current MPÏ domain decomposition
74+
// the grid is required to know the current MPÏ domain decomposition
7575
Grid *grid = data->mygrid;
7676

7777
// Dimensions for cell-centered fields

src/pydefix.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ PYBIND11_EMBEDDED_MODULE(pydefix, m) {
228228
m.attr("BX1s") = BX1s; ,
229229
m.attr("BX2s") = BX2s; ,
230230
m.attr("BX3s") = BX3s; )
231+
#ifdef EVOLVE_VECTOR_POTENTIAL
232+
m.attr("AX1e") = AX1e;
233+
m.attr("AX2e") = AX2e;
234+
m.attr("AX3e") = AX3e;
235+
#endif
231236
#endif
232237
m.attr("IDIR") = IDIR;
233238
m.attr("JDIR") = JDIR;

0 commit comments

Comments
 (0)