Loading...
Searching...
No Matches
VectorSpaceOps< N, N > Struct Template Reference

Loop termination form, when index and loop count <N> are identical. More...

#include <VectorSpaceOps.H>

Inheritance diagram for VectorSpaceOps< N, N >:
Collaboration diagram for VectorSpaceOps< N, N >:

Static Public Member Functions

template<class Input, class Output>
static void copy_n (Input, Output)
template<class Output, class T>
static void fill_n (Output, const T &)
template<class V, class S, class EqOp>
static void eqOpS (V &, const S &, EqOp)
template<class S, class V, class EqOp>
static void SeqOp (S &, const V &, EqOp)
template<class V1, class V2, class EqOp>
static void eqOp (V1 &, const V2 &, EqOp)
template<class V, class V1, class S, class BinaryOp>
static void opVS (V &, const V1 &, const S &, BinaryOp)
template<class V, class S, class V1, class BinaryOp>
static void opSV (V &, const S &, const V1 &, BinaryOp)
template<class V, class V1, class BinaryOp>
static void op (V &, const V1 &, const V1 &, BinaryOp)

Detailed Description

template<direction N>
struct Foam::VectorSpaceOps< N, N >

Loop termination form, when index and loop count <N> are identical.

Not really needed with c++17 'if constexpr' except that gcc-7, gcc-8 produce spurious warnings about unused parameters

Definition at line 194 of file VectorSpaceOps.H.

Member Function Documentation

◆ copy_n()

template<direction N>
template<class Input, class Output>
void copy_n ( Input ,
Output  )
inlinestatic

Definition at line 197 of file VectorSpaceOps.H.

◆ fill_n()

template<direction N>
template<class Output, class T>
void fill_n ( Output ,
const T &  )
inlinestatic

Definition at line 200 of file VectorSpaceOps.H.

References Foam::T().

Here is the call graph for this function:

◆ eqOpS()

template<direction N>
template<class V, class S, class EqOp>
void eqOpS ( V & ,
const S & ,
EqOp  )
inlinestatic

Definition at line 203 of file VectorSpaceOps.H.

References EqOp.

◆ SeqOp()

template<direction N>
template<class S, class V, class EqOp>
void SeqOp ( S & ,
const V & ,
EqOp  )
inlinestatic

Definition at line 206 of file VectorSpaceOps.H.

References EqOp.

◆ eqOp()

template<direction N>
template<class V1, class V2, class EqOp>
void eqOp ( V1 & ,
const V2 & ,
EqOp  )
inlinestatic

Definition at line 209 of file VectorSpaceOps.H.

References EqOp.

◆ opVS()

template<direction N>
template<class V, class V1, class S, class BinaryOp>
void opVS ( V & ,
const V1 & ,
const S & ,
BinaryOp  )
inlinestatic

Definition at line 212 of file VectorSpaceOps.H.

◆ opSV()

template<direction N>
template<class V, class S, class V1, class BinaryOp>
void opSV ( V & ,
const S & ,
const V1 & ,
BinaryOp  )
inlinestatic

Definition at line 215 of file VectorSpaceOps.H.

◆ op()

template<direction N>
template<class V, class V1, class BinaryOp>
void op ( V & ,
const V1 & ,
const V1 & ,
BinaryOp  )
inlinestatic

Definition at line 218 of file VectorSpaceOps.H.


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