/[escript]/trunk/paso/src/SystemMatrix_setValues.c
ViewVC logotype

Contents of /trunk/paso/src/SystemMatrix_setValues.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1552 - (show annotations)
Thu May 8 08:52:41 2008 UTC (11 years, 5 months ago) by gross
File MIME type: text/plain
File size: 1274 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: SystemMatrix : */
19 /* sets the values of the system matrix to a value */
20
21 /**************************************************************/
22
23 /* Copyrights by ACcESS Australia 2003,2004,2005, 2006, 2007 */
24 /* Author: gross@access.edu.au */
25
26 /**************************************************************/
27
28 #include "Paso.h"
29 #include "SystemMatrix.h"
30
31 /**************************************************************/
32
33 void Paso_SystemMatrix_setValues(Paso_SystemMatrix* in,double value) {
34
35 if (in!=NULL) {
36 Paso_SparseMatrix_setValues(in->mainBlock, value);
37 Paso_SparseMatrix_setValues(in->col_coupleBlock, value);
38 Paso_SparseMatrix_setValues(in->row_coupleBlock, value);
39 in->normalizer_is_valid=FALSE;
40 }
41 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26