quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
particles.h File Reference
#include <algorithm>
#include <functional>
#include <iomanip>
#include <iostream>
#include <json.hpp>
#include <map>
#include <quadgrid_cpp.h>
#include <string>
#include "particles_imp.h"

Go to the source code of this file.

Classes

struct  particles_t
 Class to represent particles embedded in a grid. More...
 

Namespaces

namespace  ASSIGNMENT_OPS
 

Typedefs

using assignment_t = std::function< double &(double &, const double &)>
 datatype for assignment operators More...
 

Functions

void to_json (nlohmann::json &j, const particles_t &p)
 Adaptor to allow implicit conversion from particles_t to json. More...
 

Typedef Documentation

◆ assignment_t

using assignment_t = std::function <double& (double&, const double&)>

datatype for assignment operators

Function Documentation

◆ to_json()

void to_json ( nlohmann::json &  j,
const particles_t p 
)

Adaptor to allow implicit conversion from particles_t to json.