1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// *****************************************************************************
/*!
  \file      src/Physics/Box.hpp
  \copyright 2012-2015 J. Bakosi,
             2016-2018 Los Alamos National Security, LLC.,
             2019-2021 Triad National Security, LLC.,
             2022-2025 J. Bakosi
             All rights reserved. See the LICENSE file for details.
  \brief     Initial condition box related functionality
*/
// *****************************************************************************
#pragma once

#include <vector><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <unordered_set><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.

#include "Types.hpp"

namespace problems {

//! Determine nodes that lie inside user-defined IC box(es)
std::vector< std::unordered_set< std::size_t > >
boxnodes( const std::array< std::vector< tk::real >, 3 >& coord );

//! Evaluate solution in user-defined IC box
void
box( std::size_t p,
     std::vector< tk::real >& u,
     const std::vector< std::unordered_set< std::size_t > >& boxnodes );

} // problems::