#include <mpi.h>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <vector>
#include "peclet/core/common/types.hpp"
#include "peclet/core/decomp/block_decomposer.hpp"
#include "peclet/core/halo/particle_halo_topology.hpp"
#include "peclet/core/halo/particle_migrator.hpp"
Go to the source code of this file.
|
| static double | frac (std::uint64_t x, int s) |
| |
| static double | mi (double d, double L) |
| |
| static F3 | pf (const Vec< 3 > &a, const Vec< 3 > &b) |
| |
| int | main (int argc, char **argv) |
| |
|
| static constexpr int | kSteps = 15 |
| |
| static const double | Ld [3] = {10.0, 8.0, 6.0} |
| |
| static const double | dmin [3] = {0, 0, 0} |
| |
| static constexpr double | kR = 0.4 |
| |
| static constexpr double | kRcut = 2.0 * kR |
| |
| static constexpr double | kSkin = 0.5 * kRcut |
| |
| static constexpr double | kStiff = 0.2 |
| |
| static constexpr double | kDt = 0.02 |
| |
| static constexpr double | kDamp = 0.99 |
| |
◆ frac()
| static double frac |
( |
std::uint64_t |
x, |
|
|
int |
s |
|
) |
| |
|
static |
◆ mi()
| static double mi |
( |
double |
d, |
|
|
double |
L |
|
) |
| |
|
static |
◆ pf()
| static F3 pf |
( |
const Vec< 3 > & |
a, |
|
|
const Vec< 3 > & |
b |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 74 of file test_dem_scheme_c.cpp.
References dmin, frac(), Pay::id, kDamp, kDt, kRcut, kSkin, kSteps, Ld, pf(), F3::v, and Pay::vel.
◆ kSteps
| constexpr int kSteps = 15 |
|
staticconstexpr |
◆ Ld
| const double Ld[3] = {10.0, 8.0, 6.0} |
|
static |
◆ dmin
| const double dmin[3] = {0, 0, 0} |
|
static |
◆ kR
| constexpr double kR = 0.4 |
|
staticconstexpr |
◆ kRcut
| constexpr double kRcut = 2.0 * kR |
|
static |
◆ kSkin
| constexpr double kSkin = 0.5 * kRcut |
|
static |
◆ kStiff
| constexpr double kStiff = 0.2 |
|
staticconstexpr |
◆ kDt
| constexpr double kDt = 0.02 |
|
static |
◆ kDamp
| constexpr double kDamp = 0.99 |
|
static |