class
#include <atlas/util/Unique.h>
UniqueLonLat Compute unique positive index for a element This class is a functor initialised with the nodes.
Constructors, destructors, conversion operators
-
UniqueLonLat(const mesh::
Nodes&) - Constructor, needs nodes functionspace to cache the lonlat field.
- UniqueLonLat(const Mesh&)
- Constructor.
Public functions
-
auto operator()(int node) const -> uidx_
t - Compute unique positive index of a node defined by node index.
-
auto operator()(int node,
const PeriodicTransform& transform) const -> uidx_
t -
auto operator()(const mesh::Connectivity::Row& elem_nodes) const -> uidx_
t - Compute unique positive index of element defined by node indices. The assumption is that the elements exist in a lon-lat domain and don't.
-
auto operator()(const mesh::Connectivity::Row& elem_nodes,
const PeriodicTransform& transform) const -> uidx_
t - Compute unique positive index of element defined by node indices. The assumption is that the elements exist in a lon-lat domain and don't.
-
auto operator()(const int elem_nodes[],
size_t npts) const -> uidx_
t - Compute unique positive index of element defined by node indices. The assumption is that the elements exist in a lon-lat domain and don't.
- void update()
- update the internally cached lonlat view if the field has changed
Function documentation
uidx_ t atlas:: util:: UniqueLonLat:: operator()(int node) const
Compute unique positive index of a node defined by node index.
Returns | uidx_t Return type depends on ATLAS_BITS_GLOBAL [32/64] bits |
---|
uidx_ t atlas:: util:: UniqueLonLat:: operator()(const mesh::Connectivity::Row& elem_nodes) const
Compute unique positive index of element defined by node indices. The assumption is that the elements exist in a lon-lat domain and don't.
Returns | uidx_t Return type depends on ATLAS_BITS_GLOBAL [32/64] bits |
---|
uidx_ t atlas:: util:: UniqueLonLat:: operator()(const mesh::Connectivity::Row& elem_nodes,
const PeriodicTransform& transform) const
Compute unique positive index of element defined by node indices. The assumption is that the elements exist in a lon-lat domain and don't.
Returns | uidx_t Return type depends on ATLAS_BITS_GLOBAL [32/64] bits |
---|
uidx_ t atlas:: util:: UniqueLonLat:: operator()(const int elem_nodes[],
size_t npts) const
Compute unique positive index of element defined by node indices. The assumption is that the elements exist in a lon-lat domain and don't.
Returns | uidx_t Return type depends on ATLAS_BITS_GLOBAL [32/64] bits |
---|