A monte carlo pin cell spectral code for nuclear engineering applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Surface.h File Reference

The Surface class. More...

#include <limits>
#include <math.h>
#include "log.h"
#include "vector.h"
#include "Neutron.h"

Go to the source code of this file.

Classes

class  Surface
 The Surface represents a quadratic surface in the xy-plane. More...
 
class  XPlane
 The XPlane is a plane perpendicular to the y-axis. More...
 
class  YPlane
 The YPlane is a a plane perpendicular to the y-axis. More...
 
class  ZCylinder
 The ZCylinder is the locus of a point equidistant from a fixed point. More...
 

Macros

#define PI_OVER_TWO   1.57079633
 
#define THREE_PI_OVER_TWO   4.71238898
 
#define TWO_PI   6.28318531
 
#define TINY_MOVE   1E-5
 

Typedefs

typedef enum surfaceTypes surfaceType
 Bounding surface type.
 
typedef enum boundaryTypes boundaryType
 Boundary condition type.
 

Enumerations

enum  surfaceTypes { XPLANE, YPLANE, ZCYLINDER }
 Bounding surface types. More...
 
enum  boundaryTypes { REFLECTIVE, VACUUM, INTERFACE }
 Boundary condition types. More...
 

Detailed Description

The Surface class.

Author
William Boyd (wboyd.nosp@m.@mit.nosp@m..edu)
Date
March 15, 2012

Macro Definition Documentation

#define PI_OVER_TWO   1.57079633

$ \frac{\pi}{2}$

#define THREE_PI_OVER_TWO   4.71238898

$ \frac{3\pi}{2}$

#define TINY_MOVE   1E-5

A small move to push a particle across a Surface into a new Region

#define TWO_PI   6.28318531

$ 2\pi $

Enumeration Type Documentation

Boundary condition types.

Enumerator
REFLECTIVE 

Reflective boundary conditions

VACUUM 

Vacuum boundary conditions

INTERFACE 

Interface boundary conditions

Bounding surface types.

Enumerator
XPLANE 

A plane perpendicular to the x-axis

YPLANE 

A plane perpendicular to the y-axis

ZCYLINDER 

An infinite cylinder parallel to the z-axis