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
15
void
*
start_timer
(MPI_Comm comm,
char
const
* fmt, ...);
16
26
void
stop_timer
(
void
* timer);
27
41
void
init_grid
(
42
int
comp_id
,
char
const
* grid_name,
char
const
* grid_filename,
43
int
*
cell_point_id
,
int
* corner_point_id);
start_timer
void * start_timer(MPI_Comm comm, char const *fmt,...)
Starts a timer and returns a pointer to the timer data.
Definition
perf_toy_common.c:20
init_grid
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.
Definition
perf_toy_common.c:80
stop_timer
void stop_timer(void *timer)
Stops the timer and prints the timing results.
Definition
perf_toy_common.c:44
cell_point_id
int cell_point_id
Definition
toy_coupling.c:30
comp_id
int comp_id
Definition
toy_coupling.c:27
examples
perf_toy
perf_toy_common.h
Generated on Tue Aug 25 2026 16:08:01 for YAC by
1.11.0