/[escript]/trunk/paso/src/SystemMatrixPattern.h
ViewVC logotype

Contents of /trunk/paso/src/SystemMatrixPattern.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1552 - (show annotations)
Thu May 8 08:52:41 2008 UTC (11 years, 4 months ago) by gross
File MIME type: text/plain
File size: 2186 byte(s)
some changes to make the implementatiopn of a upwind MPI version easier
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 /**************************************************************/
17
18 /* Paso: system matrix pattern */
19
20 /**************************************************************/
21
22 /* Copyrights by ACcESS Australia 2004,2005 */
23 /* Author: gross@access.edu.au */
24
25 /**************************************************************/
26
27 #ifndef INC_PASO_SYSTEMMATRIXPATTERN
28 #define INC_PASO_SYSTEMMATRIXPATTERN
29
30 #include "Distribution.h"
31 #include "Pattern.h"
32 #include "Coupler.h"
33
34 /**************************************************************/
35
36 typedef struct Paso_SystemMatrixPattern {
37 int type;
38
39 Paso_MPIInfo *mpi_info;
40
41 Paso_Pattern* mainPattern;
42 Paso_Pattern* col_couplePattern;
43 Paso_Pattern* row_couplePattern;
44 Paso_Connector* col_connector;
45 Paso_Connector* row_connector;
46 Paso_Distribution *output_distribution;
47 Paso_Distribution *input_distribution;
48
49 dim_t reference_counter;
50
51
52 } Paso_SystemMatrixPattern;
53
54
55 /* interfaces: */
56
57 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(int type, Paso_Distribution* output_distribution, Paso_Distribution* input_distribution, Paso_Pattern* mainPattern, Paso_Pattern* col_couplePattern, Paso_Pattern* row_couplePattern, Paso_Connector* col_connector, Paso_Connector* row_connector);
58 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);
59 void Paso_SystemMatrixPattern_free(Paso_SystemMatrixPattern*);
60 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern* pattern,
61 int type, dim_t output_block_size,dim_t input_block_size);
62 index_t Paso_SystemMatrixPattern_getNumOutput(Paso_SystemMatrixPattern*);
63
64 #endif /* #ifndef INC_PASO_SYSTEMPATTERN */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26