MCPcopy Create free account
hub / github.com/cselab/aphros / GetMesh

Function GetMesh

src/test/benchmark_diffusion/main.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24using MIdx = typename M::MIdx;
25
26M GetMesh(MIdx size) {
27 Rect<Vect> dom(Vect(0), Vect(1));
28 MIdx begin(0, 0, 0); // lower index
29 int halos = 2;
30 return {begin, size, dom, halos, true, true, size, 0};
31}
32
33class TimerMesh : public ExecutionTimer {
34 public:

Callers 1

mainFunction · 0.70

Calls 1

VectClass · 0.85

Tested by

no test coverage detected