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
UnitTestFieldUtils.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 National Renewable Energy Laboratory. */
3 /* This software is released under the license detailed */
4 /* in the file, LICENSE, which is located in the top-level Nalu */
5 /* directory structure */
6 /*------------------------------------------------------------------------*/
7 
8 #ifndef UNITTESTFIELDUTILS_H
9 #define UNITTESTFIELDUTILS_H
10 
11 #include <gtest/gtest.h>
12 #include "UnitTestUtils.h"
13 #include "UnitTestKokkosUtils.h"
14 
15 namespace unit_test_utils {
16 
17 double field_norm(const ScalarFieldType& field, const stk::mesh::BulkData& bulk, stk::mesh::Selector selector);
18 
19 }
20 
21 #endif /* UNITTESTFIELDUTILS_H */
stk::mesh::Field< double > ScalarFieldType
Definition: PromotedElementIO.h:38
double field_norm(const ScalarFieldType &field, const stk::mesh::BulkData &bulk, stk::mesh::Selector selector)
Definition: UnitTestFieldUtils.C:12
Definition: UnitTestFieldUtils.C:10