Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
statistics.cpp File Reference

In-situ running time averages and probes. More...

#include "statistics.h"
#include <algorithm>
#include <cmath>
#include <filesystem>
#include <iomanip>
#include <limits>
#include <unordered_map>
#include "comm.h"
#include "input.h"
#include "log.h"

Functions

std::vector< int32_t > locate_points (const Mesh &mesh, const std::vector< std::array< double, N_DIM > > &points)
 Owned cell of each point on this rank, or -1 where another rank (or none) holds it: the cell containing the point, the lowest global id among several, else the nearest cell centroid over all ranks.
 

Detailed Description

In-situ running time averages and probes.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2026-10-04

Function Documentation

◆ locate_points()

std::vector< int32_t > locate_points ( const Mesh &  mesh,
const std::vector< std::array< double, N_DIM > > &  points 
)

Owned cell of each point on this rank, or -1 where another rank (or none) holds it: the cell containing the point, the lowest global id among several, else the nearest cell centroid over all ranks.