Documentation a537f1bdf2
Loading...
Searching...
No Matches
CGradientRows< nDim, Double, Gradient_t > Struct Template Reference

Reads the gradient rows of one point one row at a time. More...

#include <util.hpp>

Public Types

using Int = typename CLaneTraits< Double >::Int
 

Public Member Functions

Double project (size_t iVar, const Vector< Double, nDim > &vector_ij) const
 

Public Attributes

const Int iPoint
 
const Gradient_t & gradient
 
const size_t iRow
 

Detailed Description

template<size_t nDim, class Double, class Gradient_t>
struct CGradientRows< nDim, Double, Gradient_t >

Reads the gradient rows of one point one row at a time.

Note
This is what a runtime variable count forces, since the block shape would not be a compile-time constant, and what a single variable forces, since its block would be a Matrix<Double,1,nDim>: that shape satisfies IsVector and would silently degenerate into a lone scalar instead of failing to compile.

Member Typedef Documentation

◆ Int

template<size_t nDim, class Double , class Gradient_t >
using CGradientRows< nDim, Double, Gradient_t >::Int = typename CLaneTraits<Double>::Int

Member Function Documentation

◆ project()

template<size_t nDim, class Double , class Gradient_t >
Double CGradientRows< nDim, Double, Gradient_t >::project ( size_t  iVar,
const Vector< Double, nDim > &  vector_ij 
) const
inline

Member Data Documentation

◆ gradient

template<size_t nDim, class Double , class Gradient_t >
const Gradient_t& CGradientRows< nDim, Double, Gradient_t >::gradient

◆ iPoint

template<size_t nDim, class Double , class Gradient_t >
const Int CGradientRows< nDim, Double, Gradient_t >::iPoint

◆ iRow

template<size_t nDim, class Double , class Gradient_t >
const size_t CGradientRows< nDim, Double, Gradient_t >::iRow

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