PLaSK library
Loading...
Searching...
No Matches
PythonCondSolver< GeometryT > Struct Template Reference
Inheritance diagram for PythonCondSolver< GeometryT >:
[legend]
Collaboration diagram for PythonCondSolver< GeometryT >:
[legend]

Public Types

typedef std::conditional< std::is_same< GeometryT, Geometry3D >::value, ElectricalFem3DSolver, ElectricalFem2DSolver< GeometryT > >::type BaseClass
 

Public Member Functions

 PythonCondSolver (const std::string &id="")
 
py::object getCond0 () const
 
void setCond0 (const py::object &value)
 
py::object getCond (size_t n) const
 
void setCond (size_t n, const py::object &value)
 
py::object __getattr__ (const std::string &attr) const
 
Tensor2< doubleactiveCond (size_t n, double U, double jy, double T) override
 Compute voltage drop of the active region.
 
std::string getClassName () const override
 
std::string getClassName () const
 
std::string getClassName () const
 
std::string getClassName () const
 

Static Public Member Functions

static void __setattr__ (const py::object &oself, const std::string &attr, const py::object &value)
 

Public Attributes

std::vector< py::object > cond_function
 

Detailed Description

template<typename GeometryT>
struct PythonCondSolver< GeometryT >

Definition at line 114 of file electr_python.cpp.

Member Typedef Documentation

◆ BaseClass

template<typename GeometryT >
typedef std::conditional<std::is_same<GeometryT,Geometry3D>::value,ElectricalFem3DSolver,ElectricalFem2DSolver<GeometryT>>::type PythonCondSolver< GeometryT >::BaseClass

Definition at line 119 of file electr_python.cpp.

Constructor & Destructor Documentation

◆ PythonCondSolver()

template<typename GeometryT >
PythonCondSolver< GeometryT >::PythonCondSolver ( const std::string &  id = "")
inline

Definition at line 123 of file electr_python.cpp.

Member Function Documentation

◆ __getattr__()

template<typename GeometryT >
py::object PythonCondSolver< GeometryT >::__getattr__ ( const std::string &  attr) const
inline

Definition at line 143 of file electr_python.cpp.

◆ __setattr__()

template<typename GeometryT >
static void PythonCondSolver< GeometryT >::__setattr__ ( const py::object &  oself,
const std::string &  attr,
const py::object &  value 
)
inlinestatic

Definition at line 151 of file electr_python.cpp.

◆ activeCond()

template<typename GeometryT >
Tensor2< double > PythonCondSolver< GeometryT >::activeCond ( size_t  n,
double  U,
double  jy,
double  T 
)
inlineoverride

Compute voltage drop of the active region.

Parameters
nactive region number
Ujunction voltage (V)
jyvertical current (kA/cm²)
Ttemperature (K)

Definition at line 171 of file electr_python.cpp.

◆ getClassName() [1/4]

std::string PythonCondSolver< Geometry2DCartesian >::getClassName ( ) const

Definition at line 191 of file electr_python.cpp.

◆ getClassName() [2/4]

std::string PythonCondSolver< Geometry2DCylindrical >::getClassName ( ) const

Definition at line 192 of file electr_python.cpp.

◆ getClassName() [3/4]

std::string PythonCondSolver< Geometry3D >::getClassName ( ) const

Definition at line 193 of file electr_python.cpp.

◆ getClassName() [4/4]

template<typename GeometryT >
std::string PythonCondSolver< GeometryT >::getClassName ( ) const
override

◆ getCond()

template<typename GeometryT >
py::object PythonCondSolver< GeometryT >::getCond ( size_t  n) const
inline

Definition at line 128 of file electr_python.cpp.

◆ getCond0()

template<typename GeometryT >
py::object PythonCondSolver< GeometryT >::getCond0 ( ) const
inline

Definition at line 125 of file electr_python.cpp.

◆ setCond()

template<typename GeometryT >
void PythonCondSolver< GeometryT >::setCond ( size_t  n,
const py::object &  value 
)
inline

Definition at line 133 of file electr_python.cpp.

◆ setCond0()

template<typename GeometryT >
void PythonCondSolver< GeometryT >::setCond0 ( const py::object &  value)
inline

Definition at line 126 of file electr_python.cpp.

Member Data Documentation

◆ cond_function

template<typename GeometryT >
std::vector<py::object> PythonCondSolver< GeometryT >::cond_function

Definition at line 121 of file electr_python.cpp.


The documentation for this struct was generated from the following file: