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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (show annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 9 months ago) by trankine
File MIME type: text/plain
File size: 2030 byte(s)
And get the *(&(*&(* name right
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* couplePattern;
43 Paso_Coupler* coupler;
44 Paso_Distribution *output_distribution;
45 Paso_Distribution *input_distribution;
46
47 dim_t reference_counter;
48
49
50 } Paso_SystemMatrixPattern;
51
52
53 /* interfaces: */
54
55 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(int type, Paso_Distribution* output_distribution, Paso_Distribution* input_distribution, Paso_Pattern* mainPattern, Paso_Pattern* couplePattern, Paso_Coupler* coupler);
56 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);
57 void Paso_SystemMatrixPattern_free(Paso_SystemMatrixPattern*);
58 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern* pattern,
59 int type, dim_t output_block_size,dim_t input_block_size);
60 index_t Paso_SystemMatrixPattern_getNumOutput(Paso_SystemMatrixPattern*);
61
62 #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