YAC 3.13.2
Yet Another Coupler
Loading...
Searching...
No Matches
yac_types.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef YAC_TYPES_H
6#define YAC_TYPES_H
7
8// YAC PUBLIC HEADER START
9
10#include <stddef.h>
11
12#include "yac_config.h"
13
14// Global index type for YAC
15typedef YAC_INT yac_int;
16
17// MPI Datatype for integers of type yac_int
18#define yac_int_dt YAC_INT_MPIDT
19
20// types for 3D coordinate arrays
21typedef double(*yac_coordinate_pointer)[3];
22typedef double const (* yac_const_coordinate_pointer)[3] ;
23
24// type for storing an array for two indices
25typedef size_t (* yac_size_t_2_pointer)[2];
26
27// YAC PUBLIC HEADER STOP
28
29#endif // YAC_TYPES_H
YAC_INT yac_int
Definition yac_types.h:15
size_t(* yac_size_t_2_pointer)[2]
Definition yac_types.h:25
double(* yac_coordinate_pointer)[3]
Definition yac_types.h:21