Helper class, holds data of one field.
More...
#include <python_field_proxy.hh>
Helper class, holds data of one field.
Definition at line 31 of file python_field_proxy.hh.
◆ FieldCacheProxy() [1/2]
FieldCacheProxy::FieldCacheProxy |
( |
std::string |
field_name, |
|
|
std::vector< uint > |
shape, |
|
|
double * |
field_cache_data, |
|
|
uint |
data_size |
|
) |
| |
|
inline |
◆ FieldCacheProxy() [2/2]
◆ field_name()
const std::string& FieldCacheProxy::field_name |
( |
| ) |
const |
|
inline |
◆ field_proxy_get_buffer()
static py::buffer_info FieldCacheProxy::field_proxy_get_buffer |
( |
FieldCacheProxy & |
proxy | ) |
|
|
inlinestatic |
Method encapsulates FieldValueCache data array for usage in Python. Allows to create C++ and Python objects above shared block of memory.
Definition at line 38 of file python_field_proxy.hh.
◆ data_size_
uint FieldCacheProxy::data_size_ |
|
private |
◆ field_cache_data_
double* FieldCacheProxy::field_cache_data_ |
|
private |
◆ field_name_
std::string FieldCacheProxy::field_name_ |
|
private |
◆ shape_
The documentation for this class was generated from the following file: