MGIS 3.1.0
Loading...
Searching...
No Matches
CoalescedMemoryAccessTensorView.ixx File Reference

File which contains the implementation of the CoalescedMemoryAccessTensorView class declared in MGIS/Function/TFEL/CoalescedMemoryAccessTensorView.hxx. More...

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Functions

template<FunctionalSpaceConcept Space, TensorConcept TensorType, bool is_mutable>
constexpr const Space & mgis::function::getSpace (const CoalescedMemoryAccessTensorView< Space, TensorType, is_mutable > &) MGIS_NOEXCEPT
 return the underlying space
template<FunctionalSpaceConcept Space, TensorConcept TensorType, bool is_mutable>
constexpr bool mgis::function::check (AbstractErrorHandler &, const CoalescedMemoryAccessTensorView< Space, TensorType, is_mutable > &) MGIS_NOEXCEPT
 a noop function to match the EvaluatorConcept concept
template<FunctionalSpaceConcept Space, TensorConcept TensorType, bool is_mutable>
constexpr size_type mgis::function::getNumberOfComponents (const CoalescedMemoryAccessTensorView< Space, TensorType, is_mutable > &) MGIS_NOEXCEPT
 return the number of components

Detailed Description

File which contains the implementation of the CoalescedMemoryAccessTensorView class declared in MGIS/Function/TFEL/CoalescedMemoryAccessTensorView.hxx.

Author
Thomas Helfer
Date
27/10/2025

Function Documentation

◆ check()

template<FunctionalSpaceConcept Space, TensorConcept TensorType, bool is_mutable>
bool mgis::function::check ( AbstractErrorHandler & ,
const CoalescedMemoryAccessTensorView< Space, TensorType, is_mutable > &  )
nodiscardconstexpr

a noop function to match the EvaluatorConcept concept

Template Parameters
Spacefunctional space on which the view is defined
TensorTypetype of the tensorial object mapped
is_mutableboolean stating if the view can return mutable values
Parameters
[in]ehunused error handler
[in]vunused coalesced memory access tensor view
Returns
always true: the validity of the view is guaranteed by its constructors

◆ getNumberOfComponents()

template<FunctionalSpaceConcept Space, TensorConcept TensorType, bool is_mutable>
size_type mgis::function::getNumberOfComponents ( const CoalescedMemoryAccessTensorView< Space, TensorType, is_mutable > & )
nodiscardconstexpr

return the number of components

Template Parameters
Spacefunctional space on which the view is defined
TensorTypetype of the tensorial object mapped
is_mutableboolean stating if the view can return mutable values
Parameters
[in]vunused coalesced memory access tensor view
Returns
the number of components of the view, which is the number of components of the tensorial type

◆ getSpace()

template<FunctionalSpaceConcept Space, TensorConcept TensorType, bool is_mutable>
const Space & mgis::function::getSpace ( const CoalescedMemoryAccessTensorView< Space, TensorType, is_mutable > & v)
nodiscardconstexpr

return the underlying space

Template Parameters
Spacefunctional space on which the view is defined
TensorTypetype of the tensorial object mapped
is_mutableboolean stating if the view can return mutable values
Parameters
[in]vcoalesced memory access tensor view
Returns
the space on which the view is defined