/[escript]/branches/doubleplusgood/paso/src/SystemMatrix_saveMM.cpp
ViewVC logotype

Contents of /branches/doubleplusgood/paso/src/SystemMatrix_saveMM.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4261 - (show annotations)
Wed Feb 27 06:09:33 2013 UTC (6 years, 1 month ago) by jfenwick
File size: 1263 byte(s)
Initial all c++ build.
But ... there are now reinterpret_cast<>'s
1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2013 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15
16
17 /************************************************************************************/
18
19 /* Paso: SystemMatrix is saved to Matrix Market format */
20
21 /************************************************************************************/
22
23 /* Copyrights by ACcESS Australia 2003,2004 */
24 /* Author: davies@access.edu.au */
25
26 /************************************************************************************/
27
28 #include "SystemMatrix.h"
29 #include "mmio.h"
30
31 void Paso_SystemMatrix_saveMM(Paso_SystemMatrix * A_p, char * fileName_p) {
32 if (A_p->mpi_info->size > 1) {
33 Esys_setError(IO_ERROR, "Paso_SystemMatrix_saveMM: Only single processor supported.");
34 } else {
35 Paso_SparseMatrix_saveMM(A_p->mainBlock,fileName_p);
36 }
37 }
38

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26