Portage::Meshfree::reference Namespace Reference

Typedefs

template<oper::Type type, basis::Type basis_type, oper::Domain domain_type>
using OP = oper::Operator< type, basis_type, domain_type >
 
template<int dim>
using B0 = typename basis::Traits< basis::Unitary, dim >::array_t
 
template<int dim>
using B1 = typename basis::Traits< basis::Linear, dim >::array_t
 
template<int dim>
using B2 = typename basis::Traits< basis::Quadratic, dim >::array_t
 

Functions

template<oper::Domain domain>
constexpr std::vector< Point< oper::dimension(domain)> > points ()
 
template<int dim>
std::vector< Point< dim > > shift_points (const std::vector< Point< dim >> &points, const Point< dim > &shift)
 
template<int dim>
std::vector< Point< dim > > deform_points (const std::vector< Point< dim >> &points, const std::vector< std::vector< double >> &matrix)
 
template<basis::Type type, size_t dim>
basis::Traits< type, dim >::array_t make_translated_exact (typename basis::Traits< type, dim >::array_t const &values, Point< dim > const &point)
 

Variables

Point< 1 > const shift1d = {1.e8}
 
Point< 2 > const shift2d = {1.e8, 2.e8}
 
Point< 3 > const shift3d = {1.e8, 2.e8, 3.e8}
 
std::vector< std::vector< double > > const matrix2
 
std::vector< std::vector< double > > const matrix3
 
double const determinant2 = 0.884
 
double const determinant3 = 1.79452
 
B0< 1 > const unitary_interval = {1.0}
 
B0< 2 > const unitary_quadrilateral = {1.0}
 
B0< 2 > const unitary_triangle = {0.5}
 
B0< 3 > const unitary_hexahedron = {1.0}
 
B0< 3 > const unitary_wedge = {0.5}
 
B0< 3 > const unitary_tetrahedron = {1./6.}
 
B1< 1 > const linear_interval = {1.0, 0.5}
 
B1< 2 > const linear_quadrilateral = {1.0, 0.5, 0.5}
 
B1< 2 > const linear_triangle = {0.5, 1./6., 1./6.}
 
B1< 3 > const linear_hexahedron = {1.0, 0.5, 0.5, 0.5}
 
B1< 3 > const linear_wedge = {0.5, 1./6., 1./6., 1./4.}
 
B1< 3 > const linear_tetrahedron = {1./6., 1./24., 1./24., 1./24.}
 
B2< 1 > const quadratic_interval = {1.0, 0.5, 1./6.}
 
B2< 2 > const quadratic_quadrilateral = {1.0, 0.5, 0.5, 1./6., 1./4., 1./6.}
 
B2< 2 > const quadratic_triangle = {0.5, 1./6., 1./6., 1./24., 1./24., 1./24.}
 
B2< 3 > const quadratic_tetrahedron
 

Typedef Documentation

◆ B0

template<int dim>
using Portage::Meshfree::reference::B0 = typedef typename basis::Traits<basis::Unitary, dim>::array_t

◆ B1

template<int dim>
using Portage::Meshfree::reference::B1 = typedef typename basis::Traits<basis::Linear, dim>::array_t

◆ B2

template<int dim>
using Portage::Meshfree::reference::B2 = typedef typename basis::Traits<basis::Quadratic, dim>::array_t

◆ OP

template<oper::Type type, basis::Type basis_type, oper::Domain domain_type>
using Portage::Meshfree::reference::OP = typedef oper::Operator<type, basis_type, domain_type>

Function Documentation

◆ deform_points()

template<int dim>
std::vector<Point<dim> > Portage::Meshfree::reference::deform_points ( const std::vector< Point< dim >> &  points,
const std::vector< std::vector< double >> &  matrix 
)

◆ make_translated_exact()

template<basis::Type type, size_t dim>
basis::Traits<type, dim>::array_t Portage::Meshfree::reference::make_translated_exact ( typename basis::Traits< type, dim >::array_t const &  values,
Point< dim > const &  point 
)

◆ points()

template<oper::Domain domain>
constexpr std::vector<Point<oper::dimension(domain)> > Portage::Meshfree::reference::points ( )

◆ shift_points()

template<int dim>
std::vector<Point<dim> > Portage::Meshfree::reference::shift_points ( const std::vector< Point< dim >> &  points,
const Point< dim > &  shift 
)

Variable Documentation

◆ determinant2

double const Portage::Meshfree::reference::determinant2 = 0.884

◆ determinant3

double const Portage::Meshfree::reference::determinant3 = 1.79452

◆ linear_hexahedron

B1<3> const Portage::Meshfree::reference::linear_hexahedron = {1.0, 0.5, 0.5, 0.5}

◆ linear_interval

B1<1> const Portage::Meshfree::reference::linear_interval = {1.0, 0.5}

◆ linear_quadrilateral

B1<2> const Portage::Meshfree::reference::linear_quadrilateral = {1.0, 0.5, 0.5}

◆ linear_tetrahedron

B1<3> const Portage::Meshfree::reference::linear_tetrahedron = {1./6., 1./24., 1./24., 1./24.}

◆ linear_triangle

B1<2> const Portage::Meshfree::reference::linear_triangle = {0.5, 1./6., 1./6.}

◆ linear_wedge

B1<3> const Portage::Meshfree::reference::linear_wedge = {0.5, 1./6., 1./6., 1./4.}

◆ matrix2

std::vector<std::vector<double> > const Portage::Meshfree::reference::matrix2
Initial value:
=
{{2.8549186535902855, -4.346198279115005},
{0.14208725143260595, 0.0933338790596824}}

◆ matrix3

std::vector<std::vector<double> > const Portage::Meshfree::reference::matrix3
Initial value:
=
{{3.1611889909865836, -3.1727215693209625, -2.6421056009990864},
{0.0636728533375156, 0.13338461548842906, -0.0839899523685015},
{1.4212135017018008, 0.22338659728810717, 1.4321838606591486}}

◆ quadratic_interval

B2<1> const Portage::Meshfree::reference::quadratic_interval = {1.0, 0.5, 1./6.}

◆ quadratic_quadrilateral

B2<2> const Portage::Meshfree::reference::quadratic_quadrilateral = {1.0, 0.5, 0.5, 1./6., 1./4., 1./6.}

◆ quadratic_tetrahedron

B2<3> const Portage::Meshfree::reference::quadratic_tetrahedron
Initial value:
= {1./6., 1./24., 1./24., 1./24., 1./120.,
1./120., 1./120., 1./120, 1./120., 1./120.}

◆ quadratic_triangle

B2<2> const Portage::Meshfree::reference::quadratic_triangle = {0.5, 1./6., 1./6., 1./24., 1./24., 1./24.}

◆ shift1d

Point<1> const Portage::Meshfree::reference::shift1d = {1.e8}

◆ shift2d

Point<2> const Portage::Meshfree::reference::shift2d = {1.e8, 2.e8}

◆ shift3d

Point<3> const Portage::Meshfree::reference::shift3d = {1.e8, 2.e8, 3.e8}

◆ unitary_hexahedron

B0<3> const Portage::Meshfree::reference::unitary_hexahedron = {1.0}

◆ unitary_interval

B0<1> const Portage::Meshfree::reference::unitary_interval = {1.0}

◆ unitary_quadrilateral

B0<2> const Portage::Meshfree::reference::unitary_quadrilateral = {1.0}

◆ unitary_tetrahedron

B0<3> const Portage::Meshfree::reference::unitary_tetrahedron = {1./6.}

◆ unitary_triangle

B0<2> const Portage::Meshfree::reference::unitary_triangle = {0.5}

◆ unitary_wedge

B0<3> const Portage::Meshfree::reference::unitary_wedge = {0.5}