|
quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
|
This library provides simple (template) classes that for a useful starting point for the implementation of MPM/PIC methods
Most of the code is ditributed under a permissive BSD-2-Clause license. As an exception the GNU Octave interface, which links to GNU Octave libraries is under a GPL (v3 or later) copyleft license.
The repository consists of the following folders :
particles_t::p2g implements transfer of quantities from the particles to the grid according to the formula
\[ u_i = \sum_p N_i(x_p) U_p \]
particles_t::g2p implements transfer of quantities from the particles to the grid according to the formula
\[ U_p = \sum_i N_i(x_p) u_i \]