Peka2D_v5  v5.0
Functions | Variables
mainKernel.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <omp.h>
#include <time.h>
#include "define.h"
#include "structs.h"
#include "loadData.h"
#include "initialize.h"
#include "writeInOut.cuh"
#include "calculate.cuh"
Include dependency graph for mainKernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int runMainKernel (int argc, char *argv[])
 
int loadSimulationDomain (Peka2D_Setup *pksetup, t_parameters *spar, t_mesh *mesh, t_timers *timers, t_message *msg)
 This function reads raster files and stores the information in the struct-type variable called msg. More...
 
int initializeComputationArrays (t_parameters spar, t_mesh *mesh, t_arrays *carrays, t_timers *timers, t_message *msg)
 This function loads mesh-type structures to array-type structures. More...
 

Variables

Peka2D_Setuppksetup
 
t_parameters spar
 
t_meshmesh
 
t_messagemsg
 

Function Documentation

◆ initializeComputationArrays()

int initializeComputationArrays ( t_parameters  spar,
t_mesh mesh,
t_arrays carrays,
t_timers timers,
t_message msg 
)

This function loads mesh-type structures to array-type structures.

◆ loadSimulationDomain()

int loadSimulationDomain ( Peka2D_Setup pksetup,
t_parameters spar,
t_mesh mesh,
t_timers timers,
t_message msg 
)

This function reads raster files and stores the information in the struct-type variable called msg.

◆ runMainKernel()

int runMainKernel ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ mesh

t_mesh* mesh
extern

◆ msg

t_message* msg
extern

◆ pksetup

Peka2D_Setup* pksetup
extern

◆ spar

t_parameters spar
extern