/[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 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (10 years, 9 months ago) by ksteube
File MIME type: text/plain
File size: 1175 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 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: SystemMatrix : */
18 /* sets the values of the system matrix to a value */
19
20 /**************************************************************/
21
22 /* Author: gross@access.edu.au */
23
24 /**************************************************************/
25
26 #include "Paso.h"
27 #include "SystemMatrix.h"
28
29 /**************************************************************/
30
31 void Paso_SystemMatrix_setValues(Paso_SystemMatrix* in,double value) {
32
33 if (in!=NULL) {
34 Paso_SparseMatrix_setValues(in->mainBlock, value);
35 Paso_SparseMatrix_setValues(in->col_coupleBlock, value);
36 Paso_SparseMatrix_setValues(in->row_coupleBlock, value);
37 in->normalizer_is_valid=FALSE;
38 }
39 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26