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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3259 - (show annotations)
Mon Oct 11 01:48:14 2010 UTC (9 years ago) by jfenwick
File MIME type: text/plain
File size: 2210 byte(s)
Merging dudley and scons updates from branches

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 /**************************************************************/
16
17 /* Paso: system matrix pattern */
18
19 /**************************************************************/
20
21 /* Copyrights by ACcESS Australia 2004,2005 */
22 /* Author: Lutz Gross, l.gross@uq.edu.au */
23
24 /**************************************************************/
25
26 #ifndef INC_PASO_SYSTEMMATRIXPATTERN
27 #define INC_PASO_SYSTEMMATRIXPATTERN
28
29 #include "Distribution.h"
30 #include "Pattern.h"
31 #include "Coupler.h"
32
33 /**************************************************************/
34
35 typedef struct Paso_SystemMatrixPattern {
36 int type;
37
38 Esys_MPIInfo *mpi_info;
39
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
58 PASO_DLL_API
59 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);
60
61 PASO_DLL_API
62 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getReference(Paso_SystemMatrixPattern*);
63
64 PASO_DLL_API
65 void Paso_SystemMatrixPattern_free(Paso_SystemMatrixPattern*);
66
67 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern* pattern,
68 int type, dim_t output_block_size,dim_t input_block_size);
69 index_t Paso_SystemMatrixPattern_getNumOutput(Paso_SystemMatrixPattern*);
70
71 #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