flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
mg_fp32_problems.hpp File Reference

The FP32 V-cycle test problems (column, cyl, slab, pack) and their right-hand side, shared by the ctests mg_fp32_vcycle and pressure_restart (problem descriptions: test_mg_fp32_vcycle.cpp's header). More...

#include <cmath>
#include <Kokkos_Core.hpp>
#include <random>
#include <string>
#include <vector>
#include "mac_cutcell_mg.hpp"

Go to the source code of this file.

Classes

struct  peclet_flow_fp32_problems::Problem

Namespaces

namespace  peclet_flow_fp32_problems

Functions

template<class V>
std::vector< typename V::non_const_value_type > peclet_flow_fp32_problems::toHost (const V &f)
CCField peclet_flow_fp32_problems::toDevice (const std::vector< double > &v, const char *name)
template<class Open, class Rho>
Problem peclet_flow_fp32_problems::makeProblem (const std::string &name, int nx, int ny, int nz, int levels, const int bc[6], Open open, Rho rho)
double peclet_flow_fp32_problems::clamp01 (double v)
Problem peclet_flow_fp32_problems::columnProblem ()
Problem peclet_flow_fp32_problems::cylProblem ()
Problem peclet_flow_fp32_problems::slabProblem (double ratio=1e3)
Problem peclet_flow_fp32_problems::packProblem ()
Problem peclet_flow_fp32_problems::boxProblem ()
void peclet_flow_fp32_problems::setUp (CutcellMG &mg, const Problem &P, int mode)
std::vector< double > peclet_flow_fp32_problems::rhsOf (const Problem &P)

Detailed Description

The FP32 V-cycle test problems (column, cyl, slab, pack) and their right-hand side, shared by the ctests mg_fp32_vcycle and pressure_restart (problem descriptions: test_mg_fp32_vcycle.cpp's header).

Definition in file mg_fp32_problems.hpp.