![]() |
Timothy
0.9
Tissue Modelling Framework
|
contains functions used for solving temperature field More...
#include "_hypre_utilities.h"
#include "HYPRE_sstruct_ls.h"
#include "HYPRE_parcsr_ls.h"
#include "HYPRE_krylov.h"
#include "global.h"
#include "fields.h"
Go to the source code of this file.
Functions | |
void | tempSetBoundary (int coord, int boundary) |
void | tempEnvInitSystem () |
void | tempEnvInitBC () |
void | tempEnvInitSolver () |
void | tempEnvSolve () |
Variables | |
HYPRE_SStructGrid | tempGrid |
HYPRE_SStructGraph | tempGraph |
HYPRE_SStructStencil | tempStencil |
HYPRE_SStructMatrix | A |
HYPRE_SStructVector | b |
HYPRE_SStructVector | x |
HYPRE_ParCSRMatrix | parA |
HYPRE_ParVector | parb |
HYPRE_ParVector | parx |
HYPRE_Solver | tempSolver |
HYPRE_Solver | tempPrecond |
int | tempObjectType |
long long | tempLower [3] |
long long | tempUpper [3] |
long long | bcLower [3] |
long long | bcUpper [3] |
double | dt |
double | tempLambda = 0.25 |
char | tfname [256] |
int | tempNVars |
int | tempNParts |
int | tempIter |
HYPRE_SStructVariable | tempVartypes [1] = { HYPRE_SSTRUCT_VARIABLE_NODE } |
contains functions used for solving temperature field
Definition in file tempf.c.
void tempEnvInitBC | ( | ) |
This function computes cell oxygen consumption function based on the interpolated cell density field.
Definition at line 219 of file tempf.c.
References A, b, bcLower, bcUpper, dt, fieldBC, fieldICMean, gridResolution, gridSize, m, MPI_CART_COMM, MPIcoords, MPIdim, MPIrank, revertStdOut(), switchStdOut(), TEMP, tempGrid, tempLambda, tempLower, tempObjectType, tempSetBoundary(), tempUpper, tfname, x, int64Vector3d::x, int64Vector3d::y, and int64Vector3d::z.
void tempEnvInitSolver | ( | ) |
This function initializes Hypre for solving temperature field.
Definition at line 428 of file tempf.c.
References A, b, MPI_CART_COMM, parA, parb, parx, revertStdOut(), switchStdOut(), tempPrecond, tempSolver, tfname, and x.
void tempEnvInitSystem | ( | ) |
This function initializes grid, stencil and matrix for temperature field.
Definition at line 126 of file tempf.c.
References A, dt, gridEndIdx, gridResolution, gridSize, gridStartIdx, logdir, MPI_CART_COMM, MPIrank, revertStdOut(), switchStdOut(), tempGraph, tempGrid, tempIter, tempLower, tempNParts, tempNVars, tempObjectType, tempStencil, tempUpper, tempVartypes, tfname, int64Vector3d::x, int64Vector3d::y, and int64Vector3d::z.
void tempEnvSolve | ( | ) |
This function is a driving function for the solving next time step of temperature field.
Definition at line 467 of file tempf.c.
References b, bcLower, bcUpper, dt, fieldBC, fieldICMean, gridResolution, gridSize, MPIcoords, MPIdim, MPIrank, parA, parb, parx, revertStdOut(), switchStdOut(), TEMP, tempField, tempIter, tempLambda, tempLower, tempSetBoundary(), tempSolver, tempUpper, tfname, x, int64Vector3d::x, int64Vector3d::y, and int64Vector3d::z.
void tempSetBoundary | ( | int | coord, |
int | boundary | ||
) |
HYPRE_SStructVariable tempVartypes[1] = { HYPRE_SSTRUCT_VARIABLE_NODE } |