src/PDE/CompFlow/Physics/CG.hpp file

Physics configurations for compressible single-material flow using continuous Galerkin discretization.

Contents

This file configures all Physics policy classes for compressible single-material flow implementied using continuous Galerkin discretization, defined in PDE/CompFlow/CGCompFlow.h.

General requirements on CompFlow Physics policy classes:

  • Must define the static function type(), returning the enum value of the policy option. Example:

    static ctr::PhysicsType type() noexcept {
      return ctr::PhysicsType::EULER;
    }

    which returns the enum value of the option from the underlying option class, collecting all possible options for Physics policies.

  • Must define the function viscousRhs(), adding the viscous terms to the right hand side.
  • Must define the function viscous_dt(), computing the minumum time step size based on the viscous term.
  • Must define the function conductRhs(), adding the heat conduction terms to the right hand side.
  • Must define the function conduct_dt(), computing the minumum time step size based on the heat diffusion term.

Namespaces

namespace inciter
Inciter declarations and definitions.