Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana::Grid::VectorValueG2P< ViewType > Struct Template Reference

Grid-to-point vector value functor. More...

#include <Cabana_Grid_Interpolation.hpp>

Public Types

using value_type = typename ViewType::value_type
 Scalar value type.
 

Public Member Functions

 VectorValueG2P (const ViewType &x, const value_type multiplier)
 Constructor.
 
template<class SplineDataType, class GridViewType>
KOKKOS_INLINE_FUNCTION void operator() (const SplineDataType &sd, const int p, const GridViewType &view) const
 Apply spline interplation.
 

Public Attributes

ViewType _x
 Spline evaluation locations.
 
value_type _multiplier
 Scalar multiplier.
 

Detailed Description

template<class ViewType>
struct Cabana::Grid::VectorValueG2P< ViewType >

Grid-to-point vector value functor.

Interpolates a vector function from entities to points with a given multiplier such that:

f_{pd} = multiplier * \sum_{ijk} weight_{pijk} * f_{ijkd}


The documentation for this struct was generated from the following file: