Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
astaroth_forcing.h
Go to the documentation of this file.
1#pragma once
2
3#include "acc_runtime.h"
4#include "acreal.h"
5#include "func_define.h"
6
7typedef struct {
9 AcReal3 k_force;
10 AcReal3 ff_hel_re;
11 AcReal3 ff_hel_im;
15
17
20// ForcingParams generateForcingParams(const AcReal relhel, const AcReal magnitude, const AcReal
21// kmin,
22// const AcReal kmax);
23
28 const AcReal kmin, const AcReal kmax);
29
30int loadForcingParamsToMeshInfo(const ForcingParams forcing_params, AcMeshInfo* info);
31
32void printForcingParams(const ForcingParams forcing_params);
33
float AcReal
Definition acreal.h:11
void printForcingParams(const ForcingParams forcing_params)
int loadForcingParamsToMeshInfo(const ForcingParams forcing_params, AcMeshInfo *info)
ForcingParams generateHelicalForcingParams(const AcReal relhel, const AcReal magnitude, const AcReal kmin, const AcReal kmax)
#define AC_BEGIN_C_DECLARATIONS
Definition func_define.h:14
#define AC_END_C_DECLARATIONS
Definition func_define.h:15
Definition acc_runtime.h:156
Definition astaroth_forcing.h:7
AcReal kaver
Definition astaroth_forcing.h:13
AcReal magnitude
Definition astaroth_forcing.h:8
AcReal3 ff_hel_im
Definition astaroth_forcing.h:11
AcReal3 ff_hel_re
Definition astaroth_forcing.h:10
AcReal phase
Definition astaroth_forcing.h:12
AcReal3 k_force
Definition astaroth_forcing.h:9