wonton.h File Reference
#include "wonton-config.h"
#include <boost/iterator/counting_iterator.hpp>
#include <vector>
#include <algorithm>
#include <string>

Go to the source code of this file.

Classes

struct  Wonton::Executor_type
 
struct  Wonton::SerialExecutor_type
 
struct  Wonton::Weights_t
 

Namespaces

 Wonton
 Factorize a number N into D equal (or nearly equal) factors.
 

Macros

#define WONTON_INLINE   inline
 

Typedefs

typedef int64_t Wonton::GID_t
 
template<typename T >
using Wonton::vector = std::vector< T >
 
template<typename T >
using Wonton::pointer = T *
 
typedef boost::counting_iterator< int > Wonton::counting_iterator
 

Enumerations

enum  Wonton::Entity_kind {
  Wonton::ALL_KIND = -3, Wonton::ANY_KIND = -2, Wonton::UNKNOWN_KIND = -1, Wonton::NODE = 0,
  Wonton::EDGE, Wonton::FACE, Wonton::CELL, Wonton::SIDE,
  Wonton::WEDGE, Wonton::CORNER, Wonton::FACET, Wonton::BOUNDARY_FACE,
  Wonton::PARTICLE
}
 The type of mesh entity. More...
 
enum  Wonton::Entity_type {
  Wonton::TYPE_UNKNOWN = -1, Wonton::DELETED = 0, Wonton::PARALLEL_OWNED = 1, Wonton::PARALLEL_GHOST = 2,
  Wonton::BOUNDARY_GHOST = 3, Wonton::ALL = 4
}
 The parallel type of a given entity. More...
 
enum  Wonton::Element_type {
  Wonton::UNKNOWN_TOPOLOGY = 0, Wonton::TRI, Wonton::QUAD, Wonton::POLYGON,
  Wonton::TET, Wonton::PRISM, Wonton::PYRAMID, Wonton::HEX,
  Wonton::POLYHEDRON
}
 Element (cell topology) type. More...
 
enum  Wonton::Field_type { Wonton::Field_type::UNKNOWN_TYPE_FIELD = -1, Wonton::Field_type::MESH_FIELD, Wonton::Field_type::MULTIMATERIAL_FIELD }
 Field type - whether it is mesh field or multi-material field. More...
 
enum  Wonton::Data_layout { Wonton::Data_layout::CELL_CENTRIC, Wonton::Data_layout::MATERIAL_CENTRIC }
 

Functions

std::string Wonton::to_string (Entity_kind entkind)
 
std::string Wonton::to_string (Entity_type enttype)
 
std::string Wonton::to_string (Element_type elemtype)
 
std::string Wonton::to_string (Field_type field_type)
 
std::string Wonton::to_string (Data_layout layout)
 
counting_iterator Wonton::make_counting_iterator (int const i)
 
template<typename InputIterator , typename OutputIterator , typename UnaryFunction >
OutputIterator Wonton::transform (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op)
 
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryFunction >
OutputIterator Wonton::transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction op)
 
template<typename InputIterator , typename UnaryFunction >
void Wonton::for_each (InputIterator first, InputIterator last, UnaryFunction f)
 
double Wonton::pow2 (double x)
 

Variables

constexpr int Wonton::NUM_ENTITY_KIND = 13
 
constexpr int Wonton::NUM_ENTITY_TYPE = 6
 
constexpr int Wonton::NUM_ELEMENT_TYPE = 9
 
constexpr int Wonton::NUM_FIELD_TYPE = 3
 
constexpr int Wonton::NUM_DATA_LAYOUT = 2
 

Macro Definition Documentation

◆ WONTON_INLINE

#define WONTON_INLINE   inline