An open source method of characteristics neutron transport code.
Quadrature.h File Reference

The Quadrature abstract class and subclasses. More...

#include <vector>
#include <iostream>
#include <cmath>
#include <algorithm>

Go to the source code of this file.

Classes

class  Quadrature
 The arbitrary quadrature parent class. More...
 
class  TYPolarQuad
 Tabuchi-Yamamoto's polar quadrature. More...
 
class  LeonardPolarQuad
 Leonard's polar quadrature. More...
 
class  GLPolarQuad
 Gauss-Legendre's polar quadrature. More...
 
class  EqualWeightPolarQuad
 Equal weight polar quadrature. More...
 
class  EqualAnglePolarQuad
 Equal angle polar quadrature. More...
 

Typedefs

typedef std::vector< double > DoubleVec
 
typedef DoubleVec::const_iterator DVCI
 

Enumerations

enum  QuadratureType {
  TABUCHI_YAMAMOTO, LEONARD, GAUSS_LEGENDRE, EQUAL_WEIGHT,
  EQUAL_ANGLE
}
 The types of quadrature sets supported by OpenMOC.
 

Functions

template<typename T >
std::ostream & operator<< (std::ostream &os, const std::vector< T > &vec)
 

Detailed Description

The Quadrature abstract class and subclasses.

The Quadrature subclasses are defined with tabulated or functional quadrature sets given in the "Lattice Physics Computations", Handbook of Nuclear Engineering, Dave Knott, Akio Yamamoto, 2010.

Date
April 8, 2016
Author
William Boyd, MIT, Course 22 (wboyd.nosp@m.@mit.nosp@m..edu)
Samuel Shaner, MIT, Course 22 (shane.nosp@m.r@mi.nosp@m.t.edu)
Geoffrey Gunow, MIT, Course 22 (geogu.nosp@m.now@.nosp@m.mit.e.nosp@m.du)

Typedef Documentation

◆ DoubleVec

typedef std::vector<double> DoubleVec

Shorthand for vectors of floats

Function Documentation

◆ operator<<()

template<typename T >
std::ostream& operator<< ( std::ostream &  os,
const std::vector< T > &  vec 
)

Template function for writing vectors to a stream