Nektar++
Functions
Python/ContField.cpp File Reference
#include <LibUtilities/Python/NekPyConfig.hpp>
#include <MultiRegions/ContField.h>

Go to the source code of this file.

Functions

std::shared_ptr< ContFieldCreateContField (const LibUtilities::SessionReaderSharedPtr &session, const SpatialDomains::MeshGraphSharedPtr &graph, const std::string &var, const bool checkSingular)
 
void export_ContField ()
 

Function Documentation

◆ CreateContField()

std::shared_ptr< ContField > CreateContField ( const LibUtilities::SessionReaderSharedPtr session,
const SpatialDomains::MeshGraphSharedPtr graph,
const std::string &  var,
const bool  checkSingular 
)

Definition at line 41 of file Python/ContField.cpp.

45{
46 return std::make_shared<ContField>(session, graph, var, true,
47 checkSingular);
48}

Referenced by export_ContField().

◆ export_ContField()

void export_ContField ( )

Definition at line 50 of file Python/ContField.cpp.

51{
52 py::class_<ContField, py::bases<ExpList>, std::shared_ptr<ContField>>(
53 "ContField", py::no_init)
54 .def("__init__",
55 py::make_constructor(&CreateContField, py::default_call_policies(),
56 (py::arg("session"), py::arg("graph"),
57 py::arg("var"),
58 py::arg("checkSingular") = true)));
59}
std::shared_ptr< ContField > CreateContField(const LibUtilities::SessionReaderSharedPtr &session, const SpatialDomains::MeshGraphSharedPtr &graph, const std::string &var, const bool checkSingular)

References CreateContField().

Referenced by BOOST_PYTHON_MODULE().