GEOSX
|
#include <FieldSpecificationOps.hpp>
Public Types | |
using | OpType = OP |
Alias for OP, the operator. | |
Static Public Member Functions | |
template<typename T > | |
static GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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 GEOSX_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... | |
Definition at line 71 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 136 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 159 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 255 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 277 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 386 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 90 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 114 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 182 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 216 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 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 304 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 344 of file FieldSpecificationOps.hpp.