Multiscale Universal Interface  2.0
A Concurrent Framework for Coupling Heterogeneous Solvers
mui.h File Reference

The main header file for MUI. Usually the only file that needs to be included in order to integrate into an application. More...

Include dependency graph for mui.h:

Go to the source code of this file.

Namespaces

 mui
 

Macros

#define DECLARE_SAMPLER_1ARG(SAMPLER, SUFFIX, CONFIG)    template<typename T> using SAMPLER ## SUFFIX = SAMPLER<CONFIG,T,T>;
 
#define DECLARE_SAMPLER_0ARG(SAMPLER, SUFFIX, CONFIG)    using SAMPLER ## SUFFIX = SAMPLER<CONFIG>;
 
#define SPECIALIZE(SUFFIX, REALTYPE, INTTYPE, DIM)
 
#define SPECIALIZE(SUFFIX, CONFIG)
 

Functions

 mui::SPECIALIZE (1d, double, int32_t, 1)
 
 mui::SPECIALIZE (2d, double, int32_t, 2)
 
 mui::SPECIALIZE (3d, double, int32_t, 3)
 
 mui::SPECIALIZE (1dx, double, int64_t, 1)
 
 mui::SPECIALIZE (2dx, double, int64_t, 2)
 
 mui::SPECIALIZE (3dx, double, int64_t, 3)
 
 mui::SPECIALIZE (1f, float, int32_t, 1)
 
 mui::SPECIALIZE (2f, float, int32_t, 2)
 
 mui::SPECIALIZE (3f, float, int32_t, 3)
 
 mui::SPECIALIZE (1fx, float, int64_t, 1)
 
 mui::SPECIALIZE (2fx, float, int64_t, 2)
 
 mui::SPECIALIZE (3fx, float, int64_t, 3)
 

Detailed Description

The main header file for MUI. Usually the only file that needs to be included in order to integrate into an application.

Author
Y. H. Tang
Date
19 February 2014

Macro Definition Documentation

◆ DECLARE_SAMPLER_0ARG

#define DECLARE_SAMPLER_0ARG (   SAMPLER,
  SUFFIX,
  CONFIG 
)     using SAMPLER ## SUFFIX = SAMPLER<CONFIG>;

◆ DECLARE_SAMPLER_1ARG

#define DECLARE_SAMPLER_1ARG (   SAMPLER,
  SUFFIX,
  CONFIG 
)     template<typename T> using SAMPLER ## SUFFIX = SAMPLER<CONFIG,T,T>;

◆ SPECIALIZE [1/2]

#define SPECIALIZE (   SUFFIX,
  CONFIG 
)
Value:
namespace mui {\
using uniface##SUFFIX = uniface<CONFIG>;\
using point##SUFFIX = point<CONFIG::REAL,CONFIG::D>;\
DECLARE_SAMPLER_1ARG(sampler_nearest_neighbor,SUFFIX,CONFIG)\
DECLARE_SAMPLER_1ARG(sampler_pseudo_nearest_neighbor,SUFFIX,CONFIG)\
DECLARE_SAMPLER_1ARG(sampler_pseudo_n2_linear,SUFFIX,CONFIG)\
DECLARE_SAMPLER_1ARG(sampler_moving_average,SUFFIX,CONFIG)\
DECLARE_SAMPLER_1ARG(sampler_exact,SUFFIX,CONFIG)\
DECLARE_SAMPLER_1ARG(sampler_rbf,SUFFIX,CONFIG)\
DECLARE_SAMPLER_1ARG(sampler_gauss,SUFFIX,CONFIG)\
DECLARE_SAMPLER_0ARG(temporal_sampler_exact,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(temporal_sampler_gauss,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(temporal_sampler_sum,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(temporal_sampler_mean,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(algo_fixed_relaxation,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(algo_aitken,SUFFIX,CONFIG);\
}
Definition: comm.h:54

◆ SPECIALIZE [2/2]

#define SPECIALIZE (   SUFFIX,
  REALTYPE,
  INTTYPE,
  DIM 
)