v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MatOps::MatOpsDataImpl::Data Struct Reference
Collaboration diagram for MatOps::MatOpsDataImpl::Data:
[legend]

Public Member Functions

 Data ()=default
 
 Data (const std::string &data_name, const MatrixDouble &data_value=MatrixDouble(), int data_shift=0)
 
 Data (const std::string &data_name, int num_components, Tag data_tag=0)
 
void resetStateCache () const
 

Public Attributes

std::string name
 
MatrixDouble data
 
int shift = 0
 
int numComponents = 0
 
Tag tag = 0
 
EntityHandle cachedEntity = 0
 
doublecachedPtr = nullptr
 
int cachedSize = 0
 

Detailed Description

Definition at line 111 of file MatOps.cpp.

Constructor & Destructor Documentation

◆ Data() [1/3]

MatOps::MatOpsDataImpl::Data::Data ( )
default

◆ Data() [2/3]

MatOps::MatOpsDataImpl::Data::Data ( const std::string &  data_name,
const MatrixDouble data_value = MatrixDouble(),
int  data_shift = 0 
)
inline

Definition at line 113 of file MatOps.cpp.

115 : name(data_name), data(data_value), shift(data_shift) {}

◆ Data() [3/3]

MatOps::MatOpsDataImpl::Data::Data ( const std::string &  data_name,
int  num_components,
Tag  data_tag = 0 
)
inline

Definition at line 116 of file MatOps.cpp.

117 : name(data_name), data(num_components, 1),
118 numComponents(num_components), tag(data_tag) {}

Member Function Documentation

◆ resetStateCache()

void MatOps::MatOpsDataImpl::Data::resetStateCache ( ) const
inline

Definition at line 129 of file MatOps.cpp.

129 {
130 cachedEntity = 0;
131 cachedPtr = nullptr;
132 cachedSize = 0;
133 }

Member Data Documentation

◆ cachedEntity

EntityHandle MatOps::MatOpsDataImpl::Data::cachedEntity = 0
mutable

Definition at line 125 of file MatOps.cpp.

◆ cachedPtr

double* MatOps::MatOpsDataImpl::Data::cachedPtr = nullptr
mutable

Definition at line 126 of file MatOps.cpp.

◆ cachedSize

int MatOps::MatOpsDataImpl::Data::cachedSize = 0
mutable

Definition at line 127 of file MatOps.cpp.

◆ data

MatrixDouble MatOps::MatOpsDataImpl::Data::data
mutable

Definition at line 121 of file MatOps.cpp.

◆ name

std::string MatOps::MatOpsDataImpl::Data::name

Definition at line 120 of file MatOps.cpp.

◆ numComponents

int MatOps::MatOpsDataImpl::Data::numComponents = 0

Definition at line 123 of file MatOps.cpp.

◆ shift

int MatOps::MatOpsDataImpl::Data::shift = 0
mutable

Definition at line 122 of file MatOps.cpp.

◆ tag

Tag MatOps::MatOpsDataImpl::Data::tag = 0

Definition at line 124 of file MatOps.cpp.


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