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
Classes | Functions
anonymous_namespace{UnitTestKernelUtils.C} Namespace Reference

Classes

struct  TrigFieldFunction
 Trigonometric field functions for unit testing. More...
 

Functions

template<typename T >
void init_trigonometric_field (const stk::mesh::BulkData &bulk, const VectorFieldType &coordinates, T &qField)
 Initialize the field array with the trigonometric test function. More...
 
template<typename LOOP_BODY >
void init_trigonometric_field (const stk::mesh::BulkData &bulk, const LOOP_BODY &inner_loop_body)
 

Function Documentation

template<typename T >
void anonymous_namespace{UnitTestKernelUtils.C}::init_trigonometric_field ( const stk::mesh::BulkData &  bulk,
const VectorFieldType coordinates,
T &  qField 
)

Initialize the field array with the trigonometric test function.

Parameters
bulkReference to STK BulkData
qFieldField to be initialized. Template specialized on this field

References kokkos_thread_team_bucket_loop().

template<typename LOOP_BODY >
void anonymous_namespace{UnitTestKernelUtils.C}::init_trigonometric_field ( const stk::mesh::BulkData &  bulk,
const LOOP_BODY &  inner_loop_body 
)