Lagrangian Particle Code for The Simulation of 2D/3D Fluid Dynamics
 All Classes Files Functions Variables Typedefs Friends Pages
Classes
hexagonal_packing.h File Reference

This header file contains classes for creating particles based on the 2D and 3D hexagonal close packing. More...

#include <cstddef>
#include <cmath>

Go to the source code of this file.

Classes

class  HexagonalPacking2D
 Computes the 2D Cartesian coordinates of a particle based on the hexagonal close packing. More...
 
class  HexagonalPacking3D
 Computes the 3D Cartesian coordinates of a particle based on the hexagonal close packing. More...
 

Detailed Description

This header file contains classes for creating particles based on the 2D and 3D hexagonal close packing.

Refer to http://en.wikipedia.org/wiki/Close-packing_of_equal_spheres for the hexagonal close packing

Author
Chen, Hsin-Chiang (morri.nosp@m.sche.nosp@m.n2008.nosp@m.@gma.nosp@m.il.co.nosp@m.m)
Version
1.0
Date
2014/05/09

Created on: 2014/05/01