Nektar++
|
#include <FieldUtils/Field.hpp>
#include <FieldUtils/FieldConvertComm.hpp>
#include <LibUtilities/Python/BasicUtils/SharedArray.hpp>
#include <LibUtilities/Python/NekPyConfig.hpp>
Go to the source code of this file.
Functions | |
void | NewPartition (FieldSharedPtr f, py::list &py_argv, int part) |
FieldSharedPtr | Field_Init (py::list &argv, int nparts=0, int output_points=0, int output_points_hom_z=0, bool error=false, bool force_output=false, bool no_equispaced=false, int npz=0, std::string onlyshape="", int part_only=0, int part_only_overlapping=0, bool useSessionVariables=false, bool useSessionExpansion=false, bool verbose=false, std::string domain="") |
const Array< OneD, const NekDouble > | Field_GetPts (FieldSharedPtr f, const int i) |
void | Field_SetPts (FieldSharedPtr f, const int i, const Array< OneD, const NekDouble > &inarray) |
void | export_Field (py::module &m) |
void export_Field | ( | py::module & | m | ) |
Definition at line 196 of file Field.cpp.
References Field_GetPts(), Field_Init(), Field_SetPts(), and NewPartition().
Referenced by PYBIND11_MODULE().
const Array< OneD, const NekDouble > Field_GetPts | ( | FieldSharedPtr | f, |
const int | i | ||
) |
Definition at line 180 of file Field.cpp.
Referenced by export_Field().
FieldSharedPtr Field_Init | ( | py::list & | argv, |
int | nparts = 0 , |
||
int | output_points = 0 , |
||
int | output_points_hom_z = 0 , |
||
bool | error = false , |
||
bool | force_output = false , |
||
bool | no_equispaced = false , |
||
int | npz = 0 , |
||
std::string | onlyshape = "" , |
||
int | part_only = 0 , |
||
int | part_only_overlapping = 0 , |
||
bool | useSessionVariables = false , |
||
bool | useSessionExpansion = false , |
||
bool | verbose = false , |
||
std::string | domain = "" |
||
) |
Definition at line 64 of file Field.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), CppCommandLine::GetArgc(), CppCommandLine::GetArgv(), Nektar::LibUtilities::GetCommFactory(), and NEKERROR.
Referenced by export_Field().
void Field_SetPts | ( | FieldSharedPtr | f, |
const int | i, | ||
const Array< OneD, const NekDouble > & | inarray | ||
) |
Definition at line 190 of file Field.cpp.
Referenced by export_Field().
void NewPartition | ( | FieldSharedPtr | f, |
py::list & | py_argv, | ||
int | part | ||
) |
Definition at line 48 of file Field.cpp.
References CppCommandLine::GetArgc(), and CppCommandLine::GetArgv().
Referenced by export_Field().