GEOS
|
#include <FieldSpecificationOps.hpp>
Public Types | |
using | OpType = OP |
Alias for OP, the operator. | |
Static Public Member Functions | |
template<typename T > | |
static GEOS_HOST_DEVICE std::enable_if< !traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView1d< T > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field. More... | |
template<typename T > | |
static GEOS_HOST_DEVICE std::enable_if< traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView1d< T > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of value to a field variable. More... | |
template<typename T > | |
static GEOS_HOST_DEVICE std::enable_if< !traits::is_tensorT< T >, void >::type | readFieldValue (arrayView1d< T const > const &field, localIndex const index, integer const component, real64 &value) |
Read a field value. More... | |
template<typename T > | |
static GEOS_HOST_DEVICE std::enable_if< traits::is_tensorT< T >, void >::type | readFieldValue (arrayView1d< T const > const &field, localIndex const index, integer const component, real64 &value) |
Read a field value. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< !traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView2d< T, USD > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field variable. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView2d< T, USD > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field variable. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< !traits::is_tensorT< T >, void >::type | readFieldValue (arrayView2d< T const, USD > const &field, localIndex const index, integer const component, real64 &value) |
Read value from a 2d field. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< traits::is_tensorT< T >, void >::type | readFieldValue (arrayView2d< T const, USD > const &field, localIndex const index, integer const component, real64 &value) |
This function is not meaningful. It exists for generic purposes, but will result in an error if called. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< !traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView3d< T, USD > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field variable. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView3d< T, USD > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field variable. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE void | readFieldValue (arrayView3d< T const, USD > const &field, localIndex const index, integer const component, real64 &value) |
This function is not meaningful. It exists for generic purposes, but will result in an error if called. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< !traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView4d< T, USD > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field variable. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE std::enable_if< traits::is_tensorT< T >, void >::type | SpecifyFieldValue (arrayView4d< T, USD > const &field, localIndex const index, integer const component, real64 const value) |
Pointwise application of a value to a field variable. More... | |
template<typename T , int USD> | |
static GEOS_HOST_DEVICE void | readFieldValue (arrayView4d< T const, USD > const &field, localIndex const index, integer const component, real64 &value) |
This function is not meaningful. It exists for generic purposes, but will result in an error if called. More... | |
Definition at line 74 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Read a field value.
T | The type of the array1d field variable specified in field . |
[in] | field | The array1d field variable to read value from. |
[in] | index | The index in field to read value from. |
[in] | component | not used. |
[out] | value | The value read from field . |
This function performs value (+)= field[index].
Definition at line 139 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Read a field value.
T | The type of the array1d field variable specified in field . |
[in] | field | The array1d field variable to read value from. |
[in] | index | The index in field to read value from. |
[in] | component | not used. |
[out] | value | The value read from field . |
This function performs value (+)= field[index][component].
Definition at line 162 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Read value from a 2d field.
T | The type of the array2d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array2d field variable to read value from. |
[in] | index | The index in field to read value from. |
[in] | component | The index along second dimension of 2d array. |
[out] | value | The value that is read from field . |
This function performs value (+)= field[index][component].
Definition at line 258 of file FieldSpecificationOps.hpp.
|
inlinestatic |
This function is not meaningful. It exists for generic purposes, but will result in an error if called.
T | The type of the array2d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array2d field variable to read value from. |
[in] | index | The index in field to read value from. |
[in] | component | The index along second dimension of 2d array. |
[out] | value | The value that is read from field . |
Definition at line 280 of file FieldSpecificationOps.hpp.
|
inlinestatic |
This function is not meaningful. It exists for generic purposes, but will result in an error if called.
T | The type of the array3d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array3d field variable to read value from. |
[in] | index | The index in field to read value from. |
[in] | component | The index along second dimension of 2d array. |
[out] | value | The value that is read from field . |
Definition at line 389 of file FieldSpecificationOps.hpp.
|
inlinestatic |
This function is not meaningful. It exists for generic purposes, but will result in an error if called.
T | The type of the array4d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array4d field variable to read value from. |
[in] | index | The index in field to read value from. |
[in] | component | The index along second dimension of 2d array. |
[out] | value | The value that is read from field . |
Definition at line 510 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field.
T | The type of the array1d field variable specified in field . |
[in] | field | The array1d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | not used. |
[in] | value | The value to apply to field . |
This function performs field[index] (+)= value.
Definition at line 93 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of value to a field variable.
T | The type of the array1d field variable specified in field . |
[in] | field | The array1d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The component of field to apply value to. If T is a scalar type, this will not be used. |
[in] | value | The value to apply to field . |
This function performs field[index][component] (+)= value.
Definition at line 117 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field variable.
T | The type of the array2d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array2d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The index along second dimension of 2d array. |
[in] | value | The value to apply to field . |
This function performs field[index][component] (+)= value.
Definition at line 185 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field variable.
T | The type of the array2d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array2d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The component of field to apply value to. If T is a scalar type, this will not be used. |
[in] | value | The value to apply to field . |
This function performs field[index][component] (+)= value for all values of field[index].
Definition at line 219 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field variable.
T | The type of the array3d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array3d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The index along third dimension of 3d array. |
[in] | value | The value to apply to field . |
This function performs field[index] (+)= value for all values of field[index].
Definition at line 307 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field variable.
T | The type of the array3d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array3d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The component of field to apply value to. If T is a scalar type, this will not be used. |
[in] | value | The value to apply to field . |
This function performs field[index][component] (+)= value for all values of field[index].
Definition at line 347 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field variable.
T | The type of the array4d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array4d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The index along third dimension of 3d array. |
[in] | value | The value to apply to field . |
This function performs field[index] (+)= value for all values of field[index].
Definition at line 416 of file FieldSpecificationOps.hpp.
|
inlinestatic |
Pointwise application of a value to a field variable.
T | The type of the array4d field variable specified in field . |
USD | the unit stride dimension of the array field . |
[in] | field | The array4d field variable to apply value to. |
[in] | index | The index in field to apply value to. |
[in] | component | The component of field to apply value to. If T is a scalar type, this will not be used. |
[in] | value | The value to apply to field . |
This function performs field[index][component] (+)= value for all values of field[index].
Definition at line 462 of file FieldSpecificationOps.hpp.