operator_references.h File Reference
#include <vector>
#include <cmath>
#include "gtest/gtest.h"
#include "portage/support/operator.h"
#include "wonton/support/Point.h"

Go to the source code of this file.

Namespaces

 Portage
 
 Portage::Meshfree
 
 Portage::Meshfree::reference
 

Typedefs

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

Functions

template<oper::Domain domain>
constexpr std::vector< Point< oper::dimension(domain)> > Portage::Meshfree::reference::points ()
 
template<int dim>
std::vector< Point< dim > > Portage::Meshfree::reference::shift_points (const std::vector< Point< dim >> &points, const Point< dim > &shift)
 
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)
 
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)
 

Variables

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