Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.0 KiB

2 years ago
/*
* Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
* See packages/seacas/LICENSE for details
*/
#pragma once
/*****************************************************************************/
/* This file contains defines that are common to both nem_spread, and */
/* nem_join. Most of them were taken from rf_salsa.h which is unique */
/* to nem_spread. */
/*****************************************************************************/
/*
* Default value of the chunk size (in bytes) for use in I/O and message
* passing
*/
#ifndef MAX_CHUNK_SIZE
#define MAX_CHUNK_SIZE 1073741824
/* Small message size for debugging purposes */
/* #define MAX_CHUNK_SIZE 16384 */
#endif
#define PEX_MAX(x, y) (((x) > (y)) ? (x) : (y)) /* max function */
#define PEX_MIN(x, y) (((x) < (y)) ? (x) : (y)) /* min function */