Nektar++
|
#include <FieldUtils/Field.hpp>
#include <FieldUtils/FieldConvertComm.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) |
Array< OneD, MultiRegions::ExpListSharedPtr > | PyListToOneDArray (py::list &pyExpList) |
void | Field_SetupFromExpList (FieldSharedPtr f, py::list &explists) |
void | export_Field () |
void export_Field | ( | ) |
Definition at line 221 of file Field.cpp.
References Field_GetPts(), Field_Init(), Field_SetPts(), Field_SetupFromExpList(), and NewPartition().
Referenced by BOOST_PYTHON_MODULE().
const Array< OneD, const NekDouble > Field_GetPts | ( | FieldSharedPtr | f, |
const int | i | ||
) |
Definition at line 179 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 63 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 189 of file Field.cpp.
Referenced by export_Field().
void Field_SetupFromExpList | ( | FieldSharedPtr | f, |
py::list & | explists | ||
) |
Definition at line 214 of file Field.cpp.
References PyListToOneDArray().
Referenced by export_Field().
void NewPartition | ( | FieldSharedPtr | f, |
py::list & | py_argv, | ||
int | part | ||
) |
Definition at line 47 of file Field.cpp.
References CppCommandLine::GetArgc(), and CppCommandLine::GetArgv().
Referenced by export_Field().
|
inline |
Definition at line 195 of file Field.cpp.
Referenced by Field_SetupFromExpList().