Portage::Meshfree::basis Namespace Reference

Classes

class  Traits
 
class  Traits< Linear, dim >
 
class  Traits< Quadratic, dim >
 
class  Traits< Unitary, dim >
 

Enumerations

enum  Type { Unitary, Linear, Quadratic, LastBasis }
 

Functions

template<int dim>
size_t function_size (Type btype)
 
template<int dim>
std::array< size_t, 2 > jet_size (Type btype)
 
template<Type type, size_t dim>
std::array< double, Traits< type, dim >::function_sizefunction (Wonton::Point< dim > x)
 
template<Type type, size_t dim>
std::array< std::array< double, Traits< type, dim >::function_size >, Traits< type, dim >::function_sizejet (Wonton::Point< dim > x)
 
template<Type type, size_t dim>
std::array< std::array< double, Traits< type, dim >::function_size >, Traits< type, dim >::function_sizeinverse_jet (Wonton::Point< dim > x)
 
template<Type type, size_t dim>
std::array< double, Traits< type, dim >::function_sizeshift (Wonton::Point< dim > x, Wonton::Point< dim > y)
 
template<Type type, size_t dim>
Traits< type, dim >::matrix_t transfactor (const Wonton::Point< dim > &c)
 
template<size_t dim>
std::vector< double > function (Type type, Wonton::Point< dim > x)
 
template<size_t dim>
std::vector< double > shift (Type type, Wonton::Point< dim > x, Wonton::Point< dim > y)
 
template<size_t dim>
std::vector< std::vector< double > > jet (Type type, Wonton::Point< dim > x)
 
template<size_t dim>
std::vector< std::vector< double > > inverse_jet (Type type, Wonton::Point< dim > x)
 
template<size_t dim>
std::vector< std::vector< double > > transfactor (const Type type, const Wonton::Point< dim > &c)
 
template<>
std::array< double, Traits< Unitary, 1 >::function_sizefunction< Unitary, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< double, Traits< Unitary, 2 >::function_sizefunction< Unitary, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< double, Traits< Unitary, 3 >::function_sizefunction< Unitary, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< std::array< double, Traits< Unitary, 1 >::function_size >, Traits< Unitary, 1 >::function_sizejet< Unitary, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< std::array< double, Traits< Unitary, 2 >::function_size >, Traits< Unitary, 2 >::function_sizejet< Unitary, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< std::array< double, Traits< Unitary, 3 >::function_size >, Traits< Unitary, 3 >::function_sizejet< Unitary, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< std::array< double, Traits< Unitary, 1 >::function_size >, Traits< Unitary, 1 >::function_sizeinverse_jet< Unitary, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< std::array< double, Traits< Unitary, 2 >::function_size >, Traits< Unitary, 2 >::function_sizeinverse_jet< Unitary, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< std::array< double, Traits< Unitary, 3 >::function_size >, Traits< Unitary, 3 >::function_sizeinverse_jet< Unitary, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< double, Traits< Unitary, 1 >::function_sizeshift< Unitary, 1 > (Wonton::Point< 1 > x, Wonton::Point< 1 > y)
 
template<>
std::array< double, Traits< Unitary, 2 >::function_sizeshift< Unitary, 2 > (Wonton::Point< 2 > x, Wonton::Point< 2 > y)
 
template<>
std::array< double, Traits< Unitary, 3 >::function_sizeshift< Unitary, 3 > (Wonton::Point< 3 > x, Wonton::Point< 3 > y)
 
template<>
Traits< Unitary, 1 >::matrix_t transfactor< Unitary, 1 > (const Wonton::Point< 1 > &c)
 
template<>
Traits< Unitary, 2 >::matrix_t transfactor< Unitary, 2 > (const Wonton::Point< 2 > &c)
 
template<>
Traits< Unitary, 3 >::matrix_t transfactor< Unitary, 3 > (const Wonton::Point< 3 > &c)
 
template<>
std::array< double, Traits< Linear, 1 >::function_sizefunction< Linear, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< double, Traits< Linear, 2 >::function_sizefunction< Linear, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< double, Traits< Linear, 3 >::function_sizefunction< Linear, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< std::array< double, Traits< Linear, 1 >::function_size >, Traits< Linear, 1 >::function_sizejet< Linear, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< std::array< double, Traits< Linear, 2 >::function_size >, Traits< Linear, 2 >::function_sizejet< Linear, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< std::array< double, Traits< Linear, 3 >::function_size >, Traits< Linear, 3 >::function_sizejet< Linear, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< std::array< double, Traits< Linear, 1 >::function_size >, Traits< Linear, 1 >::function_sizeinverse_jet< Linear, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< std::array< double, Traits< Linear, 2 >::function_size >, Traits< Linear, 2 >::function_sizeinverse_jet< Linear, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< std::array< double, Traits< Linear, 3 >::function_size >, Traits< Linear, 3 >::function_sizeinverse_jet< Linear, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< double, Traits< Linear, 1 >::function_sizeshift< Linear, 1 > (Wonton::Point< 1 > x, Wonton::Point< 1 > y)
 
template<>
std::array< double, Traits< Linear, 2 >::function_sizeshift< Linear, 2 > (Wonton::Point< 2 > x, Wonton::Point< 2 > y)
 
template<>
std::array< double, Traits< Linear, 3 >::function_sizeshift< Linear, 3 > (Wonton::Point< 3 > x, Wonton::Point< 3 > y)
 
template<>
Traits< Linear, 1 >::matrix_t transfactor< Linear, 1 > (const Wonton::Point< 1 > &c)
 
template<>
Traits< Linear, 2 >::matrix_t transfactor< Linear, 2 > (const Wonton::Point< 2 > &c)
 
template<>
Traits< Linear, 3 >::matrix_t transfactor< Linear, 3 > (const Wonton::Point< 3 > &c)
 
template<>
std::array< double, Traits< Quadratic, 1 >::function_sizefunction< Quadratic, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< double, Traits< Quadratic, 2 >::function_sizefunction< Quadratic, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< double, Traits< Quadratic, 3 >::function_sizefunction< Quadratic, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< std::array< double, Traits< Quadratic, 1 >::function_size >, Traits< Quadratic, 1 >::function_sizejet< Quadratic, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< std::array< double, Traits< Quadratic, 2 >::function_size >, Traits< Quadratic, 2 >::function_sizejet< Quadratic, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< std::array< double, Traits< Quadratic, 3 >::function_size >, Traits< Quadratic, 3 >::function_sizejet< Quadratic, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< std::array< double, Traits< Quadratic, 1 >::function_size >, Traits< Quadratic, 1 >::function_sizeinverse_jet< Quadratic, 1 > (Wonton::Point< 1 > x)
 
template<>
std::array< std::array< double, Traits< Quadratic, 2 >::function_size >, Traits< Quadratic, 2 >::function_sizeinverse_jet< Quadratic, 2 > (Wonton::Point< 2 > x)
 
template<>
std::array< std::array< double, Traits< Quadratic, 3 >::function_size >, Traits< Quadratic, 3 >::function_sizeinverse_jet< Quadratic, 3 > (Wonton::Point< 3 > x)
 
template<>
std::array< double, Traits< Quadratic, 1 >::function_sizeshift< Quadratic, 1 > (Wonton::Point< 1 > x, Wonton::Point< 1 > y)
 
template<>
std::array< double, Traits< Quadratic, 2 >::function_sizeshift< Quadratic, 2 > (Wonton::Point< 2 > x, Wonton::Point< 2 > y)
 
template<>
std::array< double, Traits< Quadratic, 3 >::function_sizeshift< Quadratic, 3 > (Wonton::Point< 3 > x, Wonton::Point< 3 > y)
 
template<>
Traits< Quadratic, 1 >::matrix_t transfactor< Quadratic, 1 > (const Wonton::Point< 1 > &c)
 
template<>
Traits< Quadratic, 2 >::matrix_t transfactor< Quadratic, 2 > (const Wonton::Point< 2 > &c)
 
template<>
Traits< Quadratic, 3 >::matrix_t transfactor< Quadratic, 3 > (const Wonton::Point< 3 > &c)
 

Variables

constexpr std::array< size_t, 4 > const quadratic_sizes = {0, 3, 6, 10}
 

Enumeration Type Documentation

◆ Type

Enumerator
Unitary 
Linear 
Quadratic 
LastBasis 

Function Documentation

◆ function() [1/2]

template<Type type, size_t dim>
std::array<double, Traits<type, dim>::function_size> Portage::Meshfree::basis::function ( Wonton::Point< dim >  x)

◆ function() [2/2]

template<size_t dim>
std::vector<double> Portage::Meshfree::basis::function ( Type  type,
Wonton::Point< dim >  x 
)

◆ function< Linear, 1 >()

template<>
std::array<double, Traits<Linear, 1>::function_size> Portage::Meshfree::basis::function< Linear, 1 > ( Wonton::Point< 1 >  x)
inline

◆ function< Linear, 2 >()

template<>
std::array<double, Traits<Linear, 2>::function_size> Portage::Meshfree::basis::function< Linear, 2 > ( Wonton::Point< 2 >  x)
inline

◆ function< Linear, 3 >()

template<>
std::array<double, Traits<Linear, 3>::function_size> Portage::Meshfree::basis::function< Linear, 3 > ( Wonton::Point< 3 >  x)
inline

◆ function< Quadratic, 1 >()

template<>
std::array<double, Traits<Quadratic, 1>::function_size> Portage::Meshfree::basis::function< Quadratic, 1 > ( Wonton::Point< 1 >  x)
inline

◆ function< Quadratic, 2 >()

template<>
std::array<double, Traits<Quadratic, 2>::function_size> Portage::Meshfree::basis::function< Quadratic, 2 > ( Wonton::Point< 2 >  x)
inline

◆ function< Quadratic, 3 >()

template<>
std::array<double, Traits<Quadratic, 3>::function_size> Portage::Meshfree::basis::function< Quadratic, 3 > ( Wonton::Point< 3 >  x)
inline

◆ function< Unitary, 1 >()

template<>
std::array<double, Traits<Unitary, 1>::function_size> Portage::Meshfree::basis::function< Unitary, 1 > ( Wonton::Point< 1 >  x)
inline

◆ function< Unitary, 2 >()

template<>
std::array<double, Traits<Unitary, 2>::function_size> Portage::Meshfree::basis::function< Unitary, 2 > ( Wonton::Point< 2 >  x)
inline

◆ function< Unitary, 3 >()

template<>
std::array<double, Traits<Unitary, 3>::function_size> Portage::Meshfree::basis::function< Unitary, 3 > ( Wonton::Point< 3 >  x)
inline

◆ function_size()

template<int dim>
size_t Portage::Meshfree::basis::function_size ( Type  btype)

◆ inverse_jet() [1/2]

template<Type type, size_t dim>
std::array< std::array<double, Traits<type, dim>::function_size>, Traits<type, dim>::function_size> Portage::Meshfree::basis::inverse_jet ( Wonton::Point< dim >  x)

◆ inverse_jet() [2/2]

template<size_t dim>
std::vector<std::vector<double> > Portage::Meshfree::basis::inverse_jet ( Type  type,
Wonton::Point< dim >  x 
)

◆ inverse_jet< Linear, 1 >()

template<>
std::array< std::array<double, Traits<Linear, 1>::function_size>, Traits<Linear, 1>::function_size> Portage::Meshfree::basis::inverse_jet< Linear, 1 > ( Wonton::Point< 1 >  x)
inline

◆ inverse_jet< Linear, 2 >()

template<>
std::array< std::array<double, Traits<Linear, 2>::function_size>, Traits<Linear, 2>::function_size> Portage::Meshfree::basis::inverse_jet< Linear, 2 > ( Wonton::Point< 2 >  x)
inline

◆ inverse_jet< Linear, 3 >()

template<>
std::array< std::array<double, Traits<Linear, 3>::function_size>, Traits<Linear, 3>::function_size> Portage::Meshfree::basis::inverse_jet< Linear, 3 > ( Wonton::Point< 3 >  x)
inline

◆ inverse_jet< Quadratic, 1 >()

template<>
std::array< std::array<double, Traits<Quadratic, 1>::function_size>, Traits<Quadratic, 1>::function_size> Portage::Meshfree::basis::inverse_jet< Quadratic, 1 > ( Wonton::Point< 1 >  x)
inline

◆ inverse_jet< Quadratic, 2 >()

template<>
std::array< std::array<double, Traits<Quadratic, 2>::function_size>, Traits<Quadratic, 2>::function_size> Portage::Meshfree::basis::inverse_jet< Quadratic, 2 > ( Wonton::Point< 2 >  x)
inline

◆ inverse_jet< Quadratic, 3 >()

template<>
std::array< std::array<double, Traits<Quadratic, 3>::function_size>, Traits<Quadratic, 3>::function_size> Portage::Meshfree::basis::inverse_jet< Quadratic, 3 > ( Wonton::Point< 3 >  x)
inline

◆ inverse_jet< Unitary, 1 >()

template<>
std::array< std::array<double, Traits<Unitary, 1>::function_size>, Traits<Unitary, 1>::function_size> Portage::Meshfree::basis::inverse_jet< Unitary, 1 > ( Wonton::Point< 1 >  x)
inline

◆ inverse_jet< Unitary, 2 >()

template<>
std::array< std::array<double, Traits<Unitary, 2>::function_size>, Traits<Unitary, 2>::function_size> Portage::Meshfree::basis::inverse_jet< Unitary, 2 > ( Wonton::Point< 2 >  x)
inline

◆ inverse_jet< Unitary, 3 >()

template<>
std::array< std::array<double, Traits<Unitary, 3>::function_size>, Traits<Unitary, 3>::function_size> Portage::Meshfree::basis::inverse_jet< Unitary, 3 > ( Wonton::Point< 3 >  x)
inline

◆ jet() [1/2]

template<Type type, size_t dim>
std::array< std::array<double, Traits<type, dim>::function_size>, Traits<type, dim>::function_size> Portage::Meshfree::basis::jet ( Wonton::Point< dim >  x)

◆ jet() [2/2]

template<size_t dim>
std::vector<std::vector<double> > Portage::Meshfree::basis::jet ( Type  type,
Wonton::Point< dim >  x 
)

◆ jet< Linear, 1 >()

template<>
std::array< std::array<double, Traits<Linear, 1>::function_size>, Traits<Linear, 1>::function_size> Portage::Meshfree::basis::jet< Linear, 1 > ( Wonton::Point< 1 >  x)
inline

◆ jet< Linear, 2 >()

template<>
std::array< std::array<double, Traits<Linear, 2>::function_size>, Traits<Linear, 2>::function_size> Portage::Meshfree::basis::jet< Linear, 2 > ( Wonton::Point< 2 >  x)
inline

◆ jet< Linear, 3 >()

template<>
std::array< std::array<double, Traits<Linear, 3>::function_size>, Traits<Linear, 3>::function_size> Portage::Meshfree::basis::jet< Linear, 3 > ( Wonton::Point< 3 >  x)
inline

◆ jet< Quadratic, 1 >()

template<>
std::array< std::array<double, Traits<Quadratic, 1>::function_size>, Traits<Quadratic, 1>::function_size> Portage::Meshfree::basis::jet< Quadratic, 1 > ( Wonton::Point< 1 >  x)
inline

◆ jet< Quadratic, 2 >()

template<>
std::array< std::array<double, Traits<Quadratic, 2>::function_size>, Traits<Quadratic, 2>::function_size> Portage::Meshfree::basis::jet< Quadratic, 2 > ( Wonton::Point< 2 >  x)
inline

◆ jet< Quadratic, 3 >()

template<>
std::array< std::array<double, Traits<Quadratic, 3>::function_size>, Traits<Quadratic, 3>::function_size> Portage::Meshfree::basis::jet< Quadratic, 3 > ( Wonton::Point< 3 >  x)
inline

◆ jet< Unitary, 1 >()

template<>
std::array< std::array<double, Traits<Unitary, 1>::function_size>, Traits<Unitary, 1>::function_size> Portage::Meshfree::basis::jet< Unitary, 1 > ( Wonton::Point< 1 >  x)
inline

◆ jet< Unitary, 2 >()

template<>
std::array< std::array<double, Traits<Unitary, 2>::function_size>, Traits<Unitary, 2>::function_size> Portage::Meshfree::basis::jet< Unitary, 2 > ( Wonton::Point< 2 >  x)
inline

◆ jet< Unitary, 3 >()

template<>
std::array< std::array<double, Traits<Unitary, 3>::function_size>, Traits<Unitary, 3>::function_size> Portage::Meshfree::basis::jet< Unitary, 3 > ( Wonton::Point< 3 >  x)
inline

◆ jet_size()

template<int dim>
std::array<size_t, 2> Portage::Meshfree::basis::jet_size ( Type  btype)

◆ shift() [1/2]

template<Type type, size_t dim>
std::array<double, Traits<type, dim>::function_size> Portage::Meshfree::basis::shift ( Wonton::Point< dim >  x,
Wonton::Point< dim >  y 
)

◆ shift() [2/2]

template<size_t dim>
std::vector<double> Portage::Meshfree::basis::shift ( Type  type,
Wonton::Point< dim >  x,
Wonton::Point< dim >  y 
)

◆ shift< Linear, 1 >()

template<>
std::array<double, Traits<Linear, 1>::function_size> Portage::Meshfree::basis::shift< Linear, 1 > ( Wonton::Point< 1 >  x,
Wonton::Point< 1 >  y 
)
inline

◆ shift< Linear, 2 >()

template<>
std::array<double, Traits<Linear, 2>::function_size> Portage::Meshfree::basis::shift< Linear, 2 > ( Wonton::Point< 2 >  x,
Wonton::Point< 2 >  y 
)
inline

◆ shift< Linear, 3 >()

template<>
std::array<double, Traits<Linear, 3>::function_size> Portage::Meshfree::basis::shift< Linear, 3 > ( Wonton::Point< 3 >  x,
Wonton::Point< 3 >  y 
)
inline

◆ shift< Quadratic, 1 >()

template<>
std::array<double, Traits<Quadratic, 1>::function_size> Portage::Meshfree::basis::shift< Quadratic, 1 > ( Wonton::Point< 1 >  x,
Wonton::Point< 1 >  y 
)
inline

◆ shift< Quadratic, 2 >()

template<>
std::array<double, Traits<Quadratic, 2>::function_size> Portage::Meshfree::basis::shift< Quadratic, 2 > ( Wonton::Point< 2 >  x,
Wonton::Point< 2 >  y 
)
inline

◆ shift< Quadratic, 3 >()

template<>
std::array<double, Traits<Quadratic, 3>::function_size> Portage::Meshfree::basis::shift< Quadratic, 3 > ( Wonton::Point< 3 >  x,
Wonton::Point< 3 >  y 
)
inline

◆ shift< Unitary, 1 >()

template<>
std::array<double, Traits<Unitary, 1>::function_size> Portage::Meshfree::basis::shift< Unitary, 1 > ( Wonton::Point< 1 >  x,
Wonton::Point< 1 >  y 
)
inline

◆ shift< Unitary, 2 >()

template<>
std::array<double, Traits<Unitary, 2>::function_size> Portage::Meshfree::basis::shift< Unitary, 2 > ( Wonton::Point< 2 >  x,
Wonton::Point< 2 >  y 
)
inline

◆ shift< Unitary, 3 >()

template<>
std::array<double, Traits<Unitary, 3>::function_size> Portage::Meshfree::basis::shift< Unitary, 3 > ( Wonton::Point< 3 >  x,
Wonton::Point< 3 >  y 
)
inline

◆ transfactor() [1/2]

template<Type type, size_t dim>
Traits<type, dim>::matrix_t Portage::Meshfree::basis::transfactor ( const Wonton::Point< dim > &  c)

◆ transfactor() [2/2]

template<size_t dim>
std::vector<std::vector<double> > Portage::Meshfree::basis::transfactor ( const Type  type,
const Wonton::Point< dim > &  c 
)

◆ transfactor< Linear, 1 >()

template<>
Traits<Linear, 1>::matrix_t Portage::Meshfree::basis::transfactor< Linear, 1 > ( const Wonton::Point< 1 > &  c)
inline

◆ transfactor< Linear, 2 >()

template<>
Traits<Linear, 2>::matrix_t Portage::Meshfree::basis::transfactor< Linear, 2 > ( const Wonton::Point< 2 > &  c)
inline

◆ transfactor< Linear, 3 >()

template<>
Traits<Linear, 3>::matrix_t Portage::Meshfree::basis::transfactor< Linear, 3 > ( const Wonton::Point< 3 > &  c)
inline

◆ transfactor< Quadratic, 1 >()

template<>
Traits<Quadratic, 1>::matrix_t Portage::Meshfree::basis::transfactor< Quadratic, 1 > ( const Wonton::Point< 1 > &  c)
inline

◆ transfactor< Quadratic, 2 >()

template<>
Traits<Quadratic, 2>::matrix_t Portage::Meshfree::basis::transfactor< Quadratic, 2 > ( const Wonton::Point< 2 > &  c)
inline

◆ transfactor< Quadratic, 3 >()

template<>
Traits<Quadratic, 3>::matrix_t Portage::Meshfree::basis::transfactor< Quadratic, 3 > ( const Wonton::Point< 3 > &  c)
inline

◆ transfactor< Unitary, 1 >()

template<>
Traits<Unitary, 1>::matrix_t Portage::Meshfree::basis::transfactor< Unitary, 1 > ( const Wonton::Point< 1 > &  c)
inline

◆ transfactor< Unitary, 2 >()

template<>
Traits<Unitary, 2>::matrix_t Portage::Meshfree::basis::transfactor< Unitary, 2 > ( const Wonton::Point< 2 > &  c)
inline

◆ transfactor< Unitary, 3 >()

template<>
Traits<Unitary, 3>::matrix_t Portage::Meshfree::basis::transfactor< Unitary, 3 > ( const Wonton::Point< 3 > &  c)
inline

Variable Documentation

◆ quadratic_sizes

constexpr std::array<size_t, 4> const Portage::Meshfree::basis::quadratic_sizes = {0, 3, 6, 10}