diff options
author | 2021-10-25 09:17:12 -0700 | |
---|---|---|
committer | 2021-10-25 09:17:12 -0700 | |
commit | 90c75145f9fc97898ebc492b07752342cf7e2f3f (patch) | |
tree | 377a21db48d4eb7cd910eb4eaee05d7f4bce7bf3 /Python/pywarpx | |
parent | 4f24bd291e4f25427e3fc0e6ea872125c5b2bdd1 (diff) | |
download | WarpX-90c75145f9fc97898ebc492b07752342cf7e2f3f.tar.gz WarpX-90c75145f9fc97898ebc492b07752342cf7e2f3f.tar.zst WarpX-90c75145f9fc97898ebc492b07752342cf7e2f3f.zip |
Fix Bug with Python Wrappers for F,G (#2474)
Diffstat (limited to 'Python/pywarpx')
-rwxr-xr-x | Python/pywarpx/_libwarpx.py | 8 | ||||
-rw-r--r-- | Python/pywarpx/fields.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Python/pywarpx/_libwarpx.py b/Python/pywarpx/_libwarpx.py index e521f8a0b..804110fd6 100755 --- a/Python/pywarpx/_libwarpx.py +++ b/Python/pywarpx/_libwarpx.py @@ -1994,7 +1994,7 @@ def get_mesh_phi_fp_lovects(level, include_ghosts=True): return _get_mesh_array_lovects(level, None, include_ghosts, libwarpx.warpx_getPhiFPLoVects) -def get_mesh_F_field_cp_lovects(level, include_ghosts=True): +def get_mesh_F_cp_lovects(level, include_ghosts=True): ''' This returns a list of the lo vectors of the arrays containing the mesh F field @@ -2015,7 +2015,7 @@ def get_mesh_F_field_cp_lovects(level, include_ghosts=True): return _get_mesh_array_lovects(level, None, include_ghosts, libwarpx.warpx_getFfieldCPLoVects) -def get_mesh_F_field_fp_lovects(level, include_ghosts=True): +def get_mesh_F_fp_lovects(level, include_ghosts=True): ''' This returns a list of the lo vectors of the arrays containing the mesh F field @@ -2036,7 +2036,7 @@ def get_mesh_F_field_fp_lovects(level, include_ghosts=True): return _get_mesh_array_lovects(level, None, include_ghosts, libwarpx.warpx_getFfieldFPLoVects) -def get_mesh_G_field_cp_lovects(level, include_ghosts=True): +def get_mesh_G_cp_lovects(level, include_ghosts=True): ''' This returns a list of the lo vectors of the arrays containing the mesh G field @@ -2057,7 +2057,7 @@ def get_mesh_G_field_cp_lovects(level, include_ghosts=True): return _get_mesh_array_lovects(level, None, include_ghosts, libwarpx.warpx_getGfieldCPLoVects) -def get_mesh_G_field_fp_lovects(level, include_ghosts=True): +def get_mesh_G_fp_lovects(level, include_ghosts=True): ''' This returns a list of the lo vectors of the arrays containing the mesh G field diff --git a/Python/pywarpx/fields.py b/Python/pywarpx/fields.py index 8db6f42c6..c4b0e29c6 100644 --- a/Python/pywarpx/fields.py +++ b/Python/pywarpx/fields.py @@ -747,15 +747,15 @@ def PhiFPWrapper(level=0, include_ghosts=False): def FFPWrapper(level=0, include_ghosts=False): return _MultiFABWrapper(direction=None, - get_lovects=_libwarpx.get_mesh_F_field_fp_lovects, - get_fabs=_libwarpx.get_mesh_F_field_fp, + get_lovects=_libwarpx.get_mesh_F_fp_lovects, + get_fabs=_libwarpx.get_mesh_F_fp, get_nodal_flag=_libwarpx.get_F_nodal_flag, level=level, include_ghosts=include_ghosts) def GFPWrapper(level=0, include_ghosts=False): return _MultiFABWrapper(direction=None, - get_lovects=_libwarpx.get_mesh_G_field_fp_lovects, - get_fabs=_libwarpx.get_mesh_G_field_fp, + get_lovects=_libwarpx.get_mesh_G_fp_lovects, + get_fabs=_libwarpx.get_mesh_G_fp, get_nodal_flag=_libwarpx.get_G_nodal_flag, level=level, include_ghosts=include_ghosts) |