~fluidity-core/fluidity/embedded_models

« back to all changes in this revision

Viewing changes to libadaptivity/include/cxxblas.h

  • Committer: Timothy Bond
  • Date: 2011-04-14 15:40:24 UTC
  • Revision ID: timothy.bond@imperial.ac.uk-20110414154024-116ci9gq6mwigmaw
Following the move from svn to bzr we change the nature of inclusion of these
four software libraries. Previously, they were included as svn externals and
pulled at latest version for trunk, pinned to specific versions for release
and stable trunk. Since bzr is less elegant at dealing with externals we have
made the decision to include the packages directly into the trunk instead.

At this import the versions are:

libadaptivity: r163
libvtkfortran: r67
libspud: r545
libmba2d: r28

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2006 Imperial College London and others.
 
2
 *
 
3
 *  Please see the AUTHORS file in the main source directory for a full list
 
4
 *  of copyright holders.
 
5
 *
 
6
 *  Dr Gerard J Gorman
 
7
 *  Applied Modelling and Computation Group
 
8
 *  Department of Earth Science and Engineering
 
9
 *  Imperial College London
 
10
 *
 
11
 *  g.gorman@imperial.ac.uk
 
12
 *
 
13
 *  This library is free software; you can redistribute it and/or
 
14
 *  modify it under the terms of the GNU Lesser General Public
 
15
 *  License as published by the Free Software Foundation; either
 
16
 *  version 2.1 of the License.
 
17
 *
 
18
 *  This library is distributed in the hope that it will be useful,
 
19
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
21
 *  Lesser General Public License for more details.
 
22
 *
 
23
 *  You should have received a copy of the GNU Lesser General Public
 
24
 *  License along with this library; if not, write to the Free Software
 
25
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 
26
 *  USA
 
27
 */
 
28
 
 
29
#ifndef CXXBLAS_H
 
30
#define CXXBLAS_H
 
31
 
 
32
extern "C" {
 
33
  /* From BLAS: compute all the eigenvalues and, optionally,
 
34
 *      eigenvectors of a real symmetric matrix A in packed storage.
 
35
 *        */
 
36
  void sspev_(char *, char *, int *, const float [],  float [],  float [],  int *,  float [], int *);
 
37
  void dspev_(char *, char *, int *, const double [], double [], double [], int *, double [], int *);
 
38
 
 
39
  void sgemm_(const char *, const char *, const int *, const int *, const int *, 
 
40
              const float *, const float [], const int *, 
 
41
              const float [], const int *, const float *, float [], const int *);
 
42
  void dgemm_(const char *, const char *, const int *, const int *, const int *, 
 
43
              const double *, const double [], const int *, 
 
44
              const double [], const int *, const double *, double [], const int *);
 
45
}
 
46
#endif