19#ifndef OBSERVABLES_LB_FLUID_STRESS_HPP
20#define OBSERVABLES_LB_FLUID_STRESS_HPP
23#include "system/System.hpp"
28#include <boost/mpi/collectives/reduce.hpp>
37 std::vector<std::size_t>
shape()
const override {
return {3, 3}; }
39 operator()(boost::mpi::communicator
const &comm)
const override {
std::vector< double > operator()(boost::mpi::communicator const &comm) const override
std::vector< std::size_t > shape() const override
Base class for observables.
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
DEVICE_QUALIFIER constexpr T sqr(T x)
Calculates the SQuaRe of x.
Utils::VectorXd< 9 > get_pressure_tensor() const