15 |
#ifndef INC_SOLVERFCT |
#ifndef INC_SOLVERFCT |
16 |
#define INC_SOLVERFCT |
#define INC_SOLVERFCT |
17 |
|
|
18 |
|
#define DT_FACTOR_MAX 1000. |
19 |
|
|
20 |
#include "SystemMatrix.h" |
#include "SystemMatrix.h" |
21 |
#include "Options.h" |
#include "Options.h" |
22 |
#include "performance.h" |
#include "performance.h" |
26 |
double theta; |
double theta; |
27 |
double dt_max; |
double dt_max; |
28 |
bool_t valid_matrices; |
bool_t valid_matrices; |
29 |
|
double dt_factor; /* = MIN(1/(1-theta),DT_FACTOR_MAX) */ |
30 |
|
|
31 |
Paso_SystemMatrix * transport_matrix; |
Paso_SystemMatrix * transport_matrix; |
32 |
Paso_SystemMatrix * mass_matrix; |
Paso_SystemMatrix * mass_matrix; |
33 |
|
|
34 |
|
double constraint_factor; |
35 |
|
double* constraint_weights; |
36 |
|
|
37 |
double* u; |
double* u; |
38 |
Paso_Coupler* u_coupler; |
Paso_Coupler* u_coupler; |
39 |
|
|
48 |
} Paso_FCTransportProblem; |
} Paso_FCTransportProblem; |
49 |
|
|
50 |
|
|
51 |
|
|
52 |
PASO_DLL_API |
PASO_DLL_API |
53 |
Paso_FCTransportProblem* Paso_FCTransportProblem_getReference(Paso_FCTransportProblem* in); |
Paso_FCTransportProblem* Paso_FCTransportProblem_getReference(Paso_FCTransportProblem* in); |
54 |
|
|
118 |
PASO_DLL_API |
PASO_DLL_API |
119 |
index_t Paso_FCTransportProblem_getTypeId(const index_t solver,const index_t preconditioner, const index_t package,const bool_t symmetry); |
index_t Paso_FCTransportProblem_getTypeId(const index_t solver,const index_t preconditioner, const index_t package,const bool_t symmetry); |
120 |
|
|
121 |
|
|
122 |
|
PASO_DLL_API |
123 |
|
void Paso_FCTransportProblem_insertConstraint(Paso_FCTransportProblem* fctp, const double* r, double* source); |
124 |
|
|
125 |
|
|
126 |
|
PASO_DLL_API |
127 |
|
void Paso_FCTransportProblem_setUpConstraint(Paso_FCTransportProblem* fctp, const double* q, const double factor); |
128 |
|
|
129 |
#endif /* #ifndef INC_SOLVERFCT */ |
#endif /* #ifndef INC_SOLVERFCT */ |