Diana  0.8.3
Parallel_defines.hpp
00001 /* -----------------------------------------------------------------------------
00002  *  Diana process modelling, simulation and analysis software
00003  *  Copyright (c) 2005, Michael Krasnyk
00004  *  All rights reserved.
00005  *
00006  *  This file is a part of Diana process modelling, simulation and analysis software
00007  *
00008  *  Diana is free software; you can redistribute it and/or modify it
00009  *  under the terms of the GNU General Public License as published
00010  *  by the Free Software Foundation (see accompanying file LICENSE)
00011  * -----------------------------------------------------------------------------
00012  *  $Id$
00013  * -----------------------------------------------------------------------------
00014  *  Description:
00015  */
00016 
00017 
00018 
00019 #ifndef __MPI_TAGS_HPP
00020 #define __MPI_TAGS_HPP
00021 
00022 #define MAX_QUANTITY_OF_SIMULATIONG OBJECTS 4000
00023 
00029 #define SEND_DATA_TIMES_TAG 100
00030 #define RECEIVE_DATA_TIMES_TAG 100
00031 #define SEND_DATA_STEPS_TAG 2000
00032 #define RECEIVE_DATA_STEPS_TAG 2000
00033 #define SEND_DATA_VARIABLES_TAG 4000
00034 #define RECEIVE_DATA_VARIABLES_TAG 4000
00035 #define SEND_DATA_ORDERS_TAG 8000
00036 #define RECEIVE_DATA_ORDERS_TAG 8000
00037 #define SEND_ELEMENTS_QUANTITY_TAG 12001
00038 #define RECEIVE_ELEMENTS_QUANTITY_TAG 12001
00039 #define SEND_DATA_ELEMENTS_TAG 13001
00040 #define RECEIVE_DATA_ELEMENTS_TAG 13001
00041 #define TRANSMIT_NUMERICOBJECT_TAG 14001
00042 #define TRANSMIT_MEMORYBANK_TAG 14001
00043 
00047 #define NOT_INITIALIZED 0
00048 #define SLEEP 1
00049 #define SIMULATING 2
00050 
00053 #define MAX_TRANSMIT_QUANTITY 40000
00054 
00055 #define DEFAULT_CONNECTIONS_FILE "connections.dat"
00056 
00057 
00060 #define HERMIT_INTERPOLATION 1
00061 #define LAGRANGE_INTERPOLATION 2
00062 #define SIMPLE_HISTORY 3
00063 
00067 #define UNKNOWN 0
00068 #define OBJECT_MOVED 1
00069 #define NO_SUCH_ESO_ON_DESTINATION_PE 2
00070 
00073 #define MINIMAL_TIME_INTERVAL 1e+10
00074 #define MINIMAL_WINDOW_SIZE 1e-6
00075 
00076 #endif
00077 
00078