Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
Public Member Functions | List of all members
sierra::nalu::Kernel Class Reference

Base class for computational kernels in Nalu. More...

#include <Kernel.h>

Inheritance diagram for sierra::nalu::Kernel:
sierra::nalu::ContinuityAdvElemKernel< AlgTraits > sierra::nalu::ContinuityMassElemKernel< AlgTraits > sierra::nalu::MomentumAdvDiffElemKernel< AlgTraits > sierra::nalu::MomentumBuoyancyBoussinesqSrcElemKernel< AlgTraits > sierra::nalu::MomentumBuoyancySrcElemKernel< AlgTraits > sierra::nalu::MomentumCoriolisSrcElemKernel< AlgTraits > sierra::nalu::MomentumMassElemKernel< AlgTraits > sierra::nalu::MomentumNSOElemKernel< AlgTraits > sierra::nalu::MomentumNSOKeElemKernel< AlgTraits > sierra::nalu::MomentumNSOSijElemKernel< AlgTraits > sierra::nalu::ScalarAdvDiffElemKernel< AlgTraits > sierra::nalu::ScalarDiffElemKernel< AlgTraits > sierra::nalu::ScalarDiffFemKernel< AlgTraits > sierra::nalu::ScalarMassElemKernel< AlgTraits > sierra::nalu::ScalarNSOElemKernel< AlgTraits > sierra::nalu::ScalarUpwAdvDiffElemKernel< AlgTraits > sierra::nalu::SteadyThermal3dContactSrcElemKernel< AlgTraits > sierra::nalu::TurbKineticEnergyKsgsSrcElemKernel< AlgTraits >

Public Member Functions

 Kernel ()=default
 
virtual ~Kernel ()
 
virtual void setup (const TimeIntegrator &)
 Perform pre-timestep work for the computational kernel. More...
 
virtual void execute (SharedMemView< DoubleType ** > &, SharedMemView< DoubleType * > &, ScratchViews< DoubleType > &)
 Execute the kernel within a Kokkos loop and populate the LHS and RHS for the linear solve. More...
 

Detailed Description

Base class for computational kernels in Nalu.

A kernel represents an atomic unit of computation applied over a given set of nodes, elements, etc. using STK and Kokkos looping constructs.

Constructor & Destructor Documentation

sierra::nalu::Kernel::Kernel ( )
default
virtual sierra::nalu::Kernel::~Kernel ( )
inlinevirtual

Member Function Documentation

virtual void sierra::nalu::Kernel::execute ( SharedMemView< DoubleType ** > &  ,
SharedMemView< DoubleType * > &  ,
ScratchViews< DoubleType > &   
)
inlinevirtual
virtual void sierra::nalu::Kernel::setup ( const TimeIntegrator )
inlinevirtual

The documentation for this class was generated from the following file: