MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
hasPV_C< SysEqn_ > Class Template Reference

Checks if the primitive variable C exists. More...

#include <fvcartesiansyseqntraits.h>

Classes

struct  two
 

Public Types

enum  { value = sizeof(test<SysEqn_>(0)) == sizeof(one) }
 

Private Types

typedef char one
 

Static Private Member Functions

template<class SysEqn >
static one test (decltype(&SysEqn::PV->C))
 
template<class SysEqn >
static two test (...)
 

Detailed Description

template<class SysEqn_>
class hasPV_C< SysEqn_ >

Definition at line 38 of file fvcartesiansyseqntraits.h.

Member Typedef Documentation

◆ one

template<class SysEqn_ >
typedef char hasPV_C< SysEqn_ >::one
private

Definition at line 39 of file fvcartesiansyseqntraits.h.

Member Enumeration Documentation

◆ anonymous enum

template<class SysEqn_ >
anonymous enum
Enumerator
value 

Definition at line 50 of file fvcartesiansyseqntraits.h.

50{ value = sizeof(test<SysEqn_>(0)) == sizeof(one) }; // ::value is constexpr true if PV->C exists, else false

Member Function Documentation

◆ test() [1/2]

template<class SysEqn_ >
template<class SysEqn >
static two hasPV_C< SysEqn_ >::test (   ...)
staticprivate

◆ test() [2/2]

template<class SysEqn_ >
template<class SysEqn >
static one hasPV_C< SysEqn_ >::test ( decltype &::->  C)
staticprivate

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