Static Public Member Functions | |
| static bool | fillFloat64Array (IVariable *v, ArrayView< double > values) |
| Fills values with the variable's values. | |
| static bool | setFromFloat64Array (IVariable *v, ConstArrayView< double > values) |
| Copies the values values into the variable v. | |
| static bool | setFromMemoryBuffer (IVariable *v, ConstMemoryView values) |
| Copies the values values into the variable v. | |
| static IDataInternal * | getDataInternal (IVariable *v) |
| Returns the internal IData API associated with the variable v. | |
Definition at line 29 of file VariableUtilsInternal.h.
|
static |
Fills values with the variable's values.
Only 1D variables of type DT_Real are convertible.
| false | if everything went well. |
| true | if nothing was done. |
Definition at line 34 of file VariableUtilsInternal.cc.
References Arcane::ArrayView< T >::copy(), and Arcane::IVariable::data().
|
static |
Returns the internal IData API associated with the variable v.
Definition at line 73 of file VariableUtilsInternal.cc.
References Arcane::IData::_commonInternal(), and Arcane::IVariable::data().
|
static |
Copies the values values into the variable v.
Only 1D variables of type DT_Real are convertible.
| false | if everything went well. |
| true | if nothing was done. |
Definition at line 50 of file VariableUtilsInternal.cc.
References setFromMemoryBuffer().
|
static |
Copies the values values into the variable v.
Only numerical variables are convertible.
| false | if everything went well. |
| true | if nothing was done. |
Definition at line 59 of file VariableUtilsInternal.cc.
References Arcane::IData::_commonInternal(), Arcane::IVariable::data(), and Arcane::IDataInternal::numericData().
Referenced by setFromFloat64Array().