#include <mpi.h>
#include <array>
#include <cmath>
#include <cstdio>
#include <Kokkos_Core.hpp>
#include "mac_pressure.hpp"
#include "peclet/core/common/types.hpp"
#include "peclet/core/common/view.hpp"
#include "peclet/core/decomp/block_decomposer.hpp"
#include "peclet/core/halo/grid_halo.hpp"
#include "peclet/core/halo/grid_halo_topology.hpp"
Go to the source code of this file.
|
| static double | source (int gx, int gy, int gz, IVec< kDim > gs) |
| |
| static void | axpy (CCField y, double a, CCConst x) |
| |
| static void | aypx (CCField y, double a, CCConst x) |
| |
| template<class Exch > |
| static void | cg (CCField x, CCConst b, OpV AC, OpV AW, OpV AE, OpV AS, OpV AN, OpV AB, OpV AT, C3 e, Exch &&exchange, const Reduce &red, long gCells, int iters) |
| |
| int | main (int argc, char **argv) |
| |
|
| static constexpr int | kDim = 3 |
| |
| static constexpr int | G = 1 |
| |
| static constexpr int | CGIT = 40 |
| |
◆ OpV
◆ source()
| static double source |
( |
int |
gx, |
|
|
int |
gy, |
|
|
int |
gz, |
|
|
IVec< kDim > |
gs |
|
) |
| |
|
static |
◆ axpy()
| static void axpy |
( |
CCField |
y, |
|
|
double |
a, |
|
|
CCConst |
x |
|
) |
| |
|
static |
◆ aypx()
| static void aypx |
( |
CCField |
y, |
|
|
double |
a, |
|
|
CCConst |
x |
|
) |
| |
|
static |
◆ cg()
template<class Exch >
| static void cg |
( |
CCField |
x, |
|
|
CCConst |
b, |
|
|
OpV |
AC, |
|
|
OpV |
AW, |
|
|
OpV |
AE, |
|
|
OpV |
AS, |
|
|
OpV |
AN, |
|
|
OpV |
AB, |
|
|
OpV |
AT, |
|
|
C3 |
e, |
|
|
Exch && |
exchange, |
|
|
const Reduce & |
red, |
|
|
long |
gCells, |
|
|
int |
iters |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ kDim
◆ CGIT