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

Annotation of /trunk/paso/src/SolverFCT.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1361 - (hide annotations)
Fri Dec 14 09:26:51 2007 UTC (12 years, 2 months ago) by gross
File MIME type: text/plain
File size: 1063 byte(s)
first steps towards a flux controlled transport solver.
1 gross 1361 /* $Id: $ */
2    
3     /*******************************************************
4     *
5     * Copyright 2007 by University of Queensland
6     *
7     * http://esscc.uq.edu.au
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     #ifndef INC_SOLVERFCT
15     #define INC_SOLVERFCT
16    
17     #include "SystemMatrix.h"
18    
19     struct Paso_Solver_FluxControl {
20     Paso_SystemMatrix * matrix;
21     dim_t num_colors;
22     index_t *colorOf;
23     index_t *main_iptr;
24     };
25     typedef struct Paso_Solver_FluxControl Paso_Solver_FluxControl;
26    
27    
28     void Paso_Solver_FluxControl_free(Paso_Solver_FluxControl* in);
29     Paso_Solver_FluxControl* Paso_SolverFCT_getFluxControl(Paso_SystemMatrix * A);
30     void Paso_Solver_FluxControl_setAntiDiffusiveFlux(Paso_Solver_FluxControl * fc, double * u, double* fa);
31     void Paso_Solver_FluxControl_addDiffusion(Paso_Solver_FluxControl * fc, double alpha, Paso_SystemMatrix * B);
32    
33    
34    
35     #endif /* #ifndef INC_SOLVERFCT */

  ViewVC Help
Powered by ViewVC 1.1.26