1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef AMR_util_h
#define AMR_util_h

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

#include "Loggers.hpp"
#include "AMR_types.hpp"

namespace AMR {
    namespace util {

        // Prototypes
        void split(const std::string &s, char delim, std::vector<std::string> &elems);
        std::vector<std::string> split(const std::string &s, char delim);
        coordinate_t find_mid_point(coordinate_t edge_node_A, coordinate_t edge_node_B);
        coordinate_t find_mid_point(real_t x1, real_t y1, real_t z1, real_t x2, real_t y2, real_t z2);

    }
}
#endif // AMR_util