Octopus
real.F90
Go to the documentation of this file.
1!! Copyright (C) 2002-2006 M. Marques, A. Castro, A. Rubio, G. Bertsch
2!!
3!! This program is free software; you can redistribute it and/or modify
4!! it under the terms of the GNU General Public License as published by
5!! the Free Software Foundation; either version 2, or (at your option)
6!! any later version.
7!!
8!! This program is distributed in the hope that it will be useful,
9!! but WITHOUT ANY WARRANTY; without even the implied warranty of
10!! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11!! GNU General Public License for more details.
12!!
13!! You should have received a copy of the GNU General Public License
14!! along with this program; if not, write to the Free Software
15!! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16!! 02110-1301, USA.
17!!
18
19#define R_TREAL 1
20
21#define R_TYPE real(real64)
22#define R_BASE real(real64)
23#define R_DOUBLE real(real64)
24#define R_MPITYPE MPI_DOUBLE_PRECISION
25#define R_TYPE_VAL TYPE_FLOAT
26#define R_TYPE_CL 'RTYPE_DOUBLE'
27#define R_TYPE_IOBINARY TYPE_DOUBLE
28#define R_TOTYPE(x) real(x, real64)
29
30#define R_CONJ(x) (x)
31#define R_REAL(x) (x)
32#define R_AIMAG(x) (M_ZERO)
33
34#define X(x) d ## x
35#define pX(x) pd ## x
36#define aX(x,y) x ## d ## y
37
38#define R_SIZEOF 8
39#define R_ADD 1
40#define R_MUL 1
41
42!! Local Variables:
43!! mode: f90
44!! coding: utf-8
45!! End: