ViennaLS
Loading...
Searching...
No Matches
lsOxidationDiffusion.hpp File Reference
#include <lsOxidationSolverBase.hpp>
#include <lsVelocityField.hpp>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <optional>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <vcTimer.hpp>
#include <amgcl/adapter/crs_tuple.hpp>
#include <amgcl/amg.hpp>
#include <amgcl/backend/builtin.hpp>
#include <amgcl/coarsening/smoothed_aggregation.hpp>
#include <amgcl/make_solver.hpp>
#include <amgcl/relaxation/ilu0.hpp>
#include <amgcl/solver/bicgstab.hpp>
#include <omp.h>

Go to the source code of this file.

Classes

struct  viennals::OxidationParameters
 Parameters for the steady oxidant diffusion model used by OxidationDiffusion. More...
class  viennals::OxidationDiffusion< T, D >
 Solves the oxidant diffusion step of the Suvorov et al. (10.1007/s10825-006-0003-z) oxidation model on the Cartesian grid carrying two level sets. More...
struct  viennals::OxidationDiffusion< T, D >::ReactionBoundarySample
 Sub-grid accurate sample of the reaction boundary crossing closest to a given grid node. Carries the interpolated concentration at the boundary point, plus the axis and offset of the edge on which the crossing lies so that callers can reconstruct the boundary-point position and normal. More...
struct  viennals::OxidationDiffusion< T, D >::FrontVelocity
 Si front speed (k C_i / (N alpha), >= 0) and normal (level-set gradient direction) at a point on the front: the area-weighted average over the face crossings within two cells (Gaussian weights, 0.75 cells wide). Not found before the first solve or away from the front. More...

Namespaces

namespace  viennals

Macros

#define AMGCL_NO_BOOST

Enumerations

enum class  viennals::GpuMode { viennals::Cpu , viennals::Gpu , viennals::Auto }
 Where the large linear solves of the oxidation solvers run: the diffusion solve and the 3-D mechanics solve (smaller systems stay on the CPU, where they are as fast). GPU failures are reported and not silently fallen back to CPU. More...

Macro Definition Documentation

◆ AMGCL_NO_BOOST

#define AMGCL_NO_BOOST