Nektar++
|
#include <FieldUtils/Field.hpp>
#include <FieldUtils/FieldConvertComm.hpp>
#include <LibUtilities/Python/NekPyConfig.hpp>
Go to the source code of this file.
Functions | |
char ** | ConvertCommandLine (py::list &py_argv) |
void | NewPartition (FieldSharedPtr f, py::list &py_argv, int part) |
FieldSharedPtr | Field_Init (py::list &py_argv, int nparts=0, int output_points=0, int output_points_hom_z=0, bool error=false, bool forceoutput=false, std::string domain="", bool noequispaced=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) |
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 () |
char** ConvertCommandLine | ( | py::list & | py_argv | ) |
Definition at line 43 of file Field.cpp.
References CellMLToNektar.pycml::copy(), and CellMLToNektar.cellml_metadata::p.
Referenced by Field_Init(), and NewPartition().
void export_Field | ( | ) |
Definition at line 219 of file Field.cpp.
References Nektar::FieldUtils::Field::ClearField(), Field_GetPts(), Field_Init(), Field_SetPts(), and NewPartition().
Referenced by BOOST_PYTHON_MODULE().
const Array<OneD, const NekDouble> Field_GetPts | ( | FieldSharedPtr | f, |
const int | i | ||
) |
Definition at line 201 of file Field.cpp.
Referenced by export_Field().
FieldSharedPtr Field_Init | ( | py::list & | py_argv, |
int | nparts = 0 , |
||
int | output_points = 0 , |
||
int | output_points_hom_z = 0 , |
||
bool | error = false , |
||
bool | forceoutput = false , |
||
std::string | domain = "" , |
||
bool | noequispaced = 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 |
||
) |
Definition at line 88 of file Field.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ConvertCommandLine(), Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), and Nektar::LibUtilities::GetCommFactory().
Referenced by export_Field().
void Field_SetPts | ( | FieldSharedPtr | f, |
const int | i, | ||
const Array< OneD, const NekDouble > & | inarray | ||
) |
Definition at line 211 of file Field.cpp.
Referenced by export_Field().
void NewPartition | ( | FieldSharedPtr | f, |
py::list & | py_argv, | ||
int | part | ||
) |
Definition at line 73 of file Field.cpp.
References ConvertCommandLine().
Referenced by export_Field().