v0.14.0
Classes | Enumerations | Functions | Variables
Poisson2DiscontGalerkinOperators Namespace Reference

Classes

struct  OpCalculateSideData
 Operator tp collect data from elements on the side of Edge/Face. More...
 
struct  OpL2BoundaryRhs
 Operator to evaluate Dirichlet boundary conditions using DG. More...
 
struct  OpL2LhsPenalty
 Operator the left hand side matrix. More...
 

Enumerations

enum  ElementSide { LEFT_SIDE = 0, RIGHT_SIDE }
 

Functions

template<typename T >
auto get_ntensor (T &base_mat)
 
template<typename T >
auto get_ntensor (T &base_mat, int gg, int bb)
 
template<typename T >
auto get_diff_ntensor (T &base_mat)
 
template<typename T >
auto get_diff_ntensor (T &base_mat, int gg, int bb)
 

Variables

FTensor::Index< 'i', SPACE_DIMi
 
std::array< VectorInt, 2 > indicesRowSideMap
 indices on rows for left hand-side More...
 
std::array< VectorInt, 2 > indicesColSideMap
 indices on columns for left hand-side More...
 
std::array< MatrixDouble, 2 > rowBaseSideMap
 
std::array< MatrixDouble, 2 > colBaseSideMap
 
std::array< MatrixDouble, 2 > rowDiffBaseSideMap
 
std::array< MatrixDouble, 2 > colDiffBaseSideMap
 
std::array< double, 2 > areaMap
 
std::array< int, 2 > senseMap
 

Enumeration Type Documentation

◆ ElementSide

Enumerator
LEFT_SIDE 
RIGHT_SIDE 

Definition at line 20 of file PoissonDiscontinousGalerkin.hpp.

20 { LEFT_SIDE = 0, RIGHT_SIDE };

Function Documentation

◆ get_diff_ntensor() [1/2]

template<typename T >
auto Poisson2DiscontGalerkinOperators::get_diff_ntensor ( T &  base_mat)
inline
Examples
PoissonDiscontinousGalerkin.hpp.

Definition at line 100 of file PoissonDiscontinousGalerkin.hpp.

100  {
101  double *ptr = &*base_mat.data().begin();
102  return getFTensor1FromPtr<2>(ptr);
103 };

◆ get_diff_ntensor() [2/2]

template<typename T >
auto Poisson2DiscontGalerkinOperators::get_diff_ntensor ( T &  base_mat,
int  gg,
int  bb 
)
inline

Definition at line 106 of file PoissonDiscontinousGalerkin.hpp.

106  {
107  double *ptr = &base_mat(gg, 2 * bb);
108  return getFTensor1FromPtr<2>(ptr);
109 };

◆ get_ntensor() [1/2]

template<typename T >
auto Poisson2DiscontGalerkinOperators::get_ntensor ( T &  base_mat)
inline
Examples
level_set.cpp, and PoissonDiscontinousGalerkin.hpp.

Definition at line 90 of file PoissonDiscontinousGalerkin.hpp.

90  {
92  &*base_mat.data().begin());
93 };

◆ get_ntensor() [2/2]

template<typename T >
auto Poisson2DiscontGalerkinOperators::get_ntensor ( T &  base_mat,
int  gg,
int  bb 
)
inline

Definition at line 95 of file PoissonDiscontinousGalerkin.hpp.

95  {
96  double *ptr = &base_mat(gg, bb);
98 };

Variable Documentation

◆ areaMap

std::array<double, 2> Poisson2DiscontGalerkinOperators::areaMap

◆ colBaseSideMap

std::array<MatrixDouble, 2> Poisson2DiscontGalerkinOperators::colBaseSideMap

◆ colDiffBaseSideMap

std::array<MatrixDouble, 2> Poisson2DiscontGalerkinOperators::colDiffBaseSideMap

◆ i

FTensor::Index<'i', SPACE_DIM> Poisson2DiscontGalerkinOperators::i

◆ indicesColSideMap

std::array<VectorInt, 2> Poisson2DiscontGalerkinOperators::indicesColSideMap

indices on columns for left hand-side

Examples
level_set.cpp, and PoissonDiscontinousGalerkin.hpp.

Definition at line 25 of file PoissonDiscontinousGalerkin.hpp.

◆ indicesRowSideMap

std::array<VectorInt, 2> Poisson2DiscontGalerkinOperators::indicesRowSideMap

indices on rows for left hand-side

Examples
level_set.cpp, and PoissonDiscontinousGalerkin.hpp.

Definition at line 23 of file PoissonDiscontinousGalerkin.hpp.

◆ rowBaseSideMap

std::array<MatrixDouble, 2> Poisson2DiscontGalerkinOperators::rowBaseSideMap

◆ rowDiffBaseSideMap

std::array<MatrixDouble, 2> Poisson2DiscontGalerkinOperators::rowDiffBaseSideMap

◆ senseMap

std::array<int, 2> Poisson2DiscontGalerkinOperators::senseMap
RIGHT_SIDE
@ RIGHT_SIDE
Definition: plate.cpp:92
FTensor::Tensor0
Definition: Tensor0.hpp:16
LEFT_SIDE
@ LEFT_SIDE
Definition: plate.cpp:92