![]() |
OGS
|
|
Scalar copy operation: transfers one double from a VariableArray into the per-thread symbol table using a precomputed byte offset. The variable field is carried only for error messages.
Definition at line 30 of file Function.cpp.
Public Member Functions | |
| ScalarCopyOp (VariableArray const &base, VariableArray::Scalar *dst, Variable var) | |
| void | apply (VariableArray const &src) const |
Public Attributes | |
| std::ptrdiff_t | src_offset |
| byte offset from VariableArray start | |
| double * | dst_ptr |
| pointer into this thread's symbol table | |
| Variable | variable |
| for error messages | |
|
inline |
Definition at line 36 of file Function.cpp.
References dst_ptr, src_offset, and variable.
|
inline |
Definition at line 46 of file Function.cpp.
References dst_ptr, OGS_FATAL, src_offset, variable, and MaterialPropertyLib::variable_enum_to_string.
| double* MaterialPropertyLib::ScalarCopyOp::dst_ptr |
pointer into this thread's symbol table
Definition at line 33 of file Function.cpp.
Referenced by ScalarCopyOp(), and apply().
| std::ptrdiff_t MaterialPropertyLib::ScalarCopyOp::src_offset |
byte offset from VariableArray start
Definition at line 32 of file Function.cpp.
Referenced by ScalarCopyOp(), and apply().
| Variable MaterialPropertyLib::ScalarCopyOp::variable |
for error messages
Definition at line 34 of file Function.cpp.
Referenced by ScalarCopyOp(), and apply().