portage.h File Reference
#include "portage-config.h"
#include <boost/iterator/counting_iterator.hpp>
#include <vector>
#include <algorithm>
#include <string>
#include <limits>
#include "wonton/support/Point.h"
#include "wonton/support/Vector.h"
#include "wonton/support/Matrix.h"
#include "wonton/support/wonton.h"

Go to the source code of this file.

Classes

struct  Portage::NumericTolerances_t
 Intersection and other tolerances to handle tiny values. More...
 

Namespaces

 Portage
 

Typedefs

template<typename T >
using Portage::vector = std::vector< T >
 
template<typename T >
using Portage::pointer = T *
 
typedef boost::counting_iterator< unsigned int > Portage::counting_iterator
 

Enumerations

enum  Portage::Limiter_type { Portage::NOLIMITER, Portage::BARTH_JESPERSEN }
 Limiter type. More...
 
enum  Portage::Boundary_Limiter_type { Portage::BND_NOLIMITER, Portage::BND_ZERO_GRADIENT, Portage::BND_BARTH_JESPERSEN }
 Boundary limiter type. More...
 
enum  Portage::Partial_fixup_type { Portage::CONSTANT, Portage::LOCALLY_CONSERVATIVE, Portage::SHIFTED_CONSERVATIVE }
 Fixup options for partially filled cells. More...
 
enum  Portage::Empty_fixup_type { Portage::LEAVE_EMPTY, Portage::EXTRAPOLATE, Portage::FILL }
 Fixup options for empty cells. More...
 

Functions

std::string Portage::to_string (Limiter_type limiter_type)
 
std::string Portage::to_string (Boundary_Limiter_type boundary_limiter_type)
 
std::string Portage::to_string (Partial_fixup_type partial_fixup_type)
 
std::string Portage::to_string (Empty_fixup_type empty_fixup_type)
 
counting_iterator Portage::make_counting_iterator (unsigned int const i)
 
template<typename InputIterator , typename OutputIterator , typename UnaryFunction >
OutputIterator Portage::transform (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op)
 
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryFunction >
OutputIterator Portage::transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction op)
 
template<typename InputIterator , typename UnaryFunction >
void Portage::for_each (InputIterator first, InputIterator last, UnaryFunction f)
 

Variables

constexpr int Portage::NUM_LIMITER_TYPE = 2
 
constexpr Limiter_type Portage::DEFAULT_LIMITER = Limiter_type::BARTH_JESPERSEN
 
constexpr int Portage::NUM_Boundary_Limiter_type = 2
 
constexpr Boundary_Limiter_type Portage::DEFAULT_BND_LIMITER = Boundary_Limiter_type::BND_NOLIMITER
 
constexpr int Portage::NUM_PARTIAL_FIXUP_TYPE = 3
 
constexpr Partial_fixup_type Portage::DEFAULT_PARTIAL_FIXUP_TYPE
 
constexpr int Portage::NUM_EMPTY_FIXUP_TYPE = 3
 
constexpr Empty_fixup_type Portage::DEFAULT_EMPTY_FIXUP_TYPE = Empty_fixup_type::LEAVE_EMPTY
 
template<int D>
const NumericTolerances_t Portage::DEFAULT_NUMERIC_TOLERANCES