YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
perf_toy_common.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#include <mpi.h>
6
15void * start_timer(MPI_Comm comm, char const * fmt, ...);
16
26void stop_timer(void * timer);
27
41void init_grid(
42 int comp_id, char const * grid_name, char const * grid_filename,
43 int * cell_point_id, int * corner_point_id);
void * start_timer(MPI_Comm comm, char const *fmt,...)
Starts a timer and returns a pointer to the timer data.
void init_grid(int comp_id, char const *grid_name, char const *grid_filename, int *cell_point_id, int *corner_point_id)
Initializes grid data and registers it with YAC.
void stop_timer(void *timer)
Stops the timer and prints the timing results.
int cell_point_id
int comp_id