f77proto.h 1.25 KB
Newer Older
thomas.forbriger's avatar
thomas.forbriger committed
1
2
3
4
5
/*! \file f77proto.h
 * \brief prototypes for Fortran interface (prototypes)
 * 
 * ----------------------------------------------------------------------------
 * 
6
 * $Id: f77proto.h,v 1.3 2002-12-23 18:07:32 forbrig Exp $
thomas.forbriger's avatar
thomas.forbriger committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 * \author Thomas Forbriger
 * \date 22/12/2002
 * 
 * prototypes for Fortran interface (prototypes)
 * 
 * Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt) 
 * 
 * REVISIONS and CHANGES 
 *  - 22/12/2002   V1.0   Thomas Forbriger
 * 
 * ============================================================================
 */

// include guard
21
#ifndef AFF_F77PROTO_H_VERSION
thomas.forbriger's avatar
thomas.forbriger committed
22

23
24
25
#define AFF_F77PROTO_H_VERSION \
  "AFF_F77PROTO_H   V1.0   "
#define AFF_F77PROTO_H_CVSID \
26
  "$Id: f77proto.h,v 1.3 2002-12-23 18:07:32 forbrig Exp $"
thomas.forbriger's avatar
thomas.forbriger committed
27

28
#include<aff/array.h>
thomas.forbriger's avatar
thomas.forbriger committed
29

30
31
32
#include<complex>

//! This namespace collects all test functions for interfacing Fortran 77
33
namespace f77interface {
thomas.forbriger's avatar
thomas.forbriger committed
34

35
36
37
typedef aff::Array<std::complex<float> > Tcarray;
typedef aff::Array<std::complex<double> > Tzarray;

38
int fill(const aff::Array<int>& fa);
39
40
41
42
int fillarray(const aff::Array<float>& v1,
              const aff::Array<float>& v2);
Tcarray sums();
Tzarray viewcommon();
43
44
45
46
47

} // namespace f77interface


#endif // AFF_F77PROTO_H_VERSION (includeguard)
thomas.forbriger's avatar
thomas.forbriger committed
48
49

/* ----- END OF f77proto.h ----- */