Peano
Loading...
Searching...
No Matches
ElementMatrix.h File Reference
#include "Stencil.h"
#include <bitset>
#include "ElementMatrix.cpph"
Include dependency graph for ElementMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::finiteelements
 Derive Element-wise Matrices From Stencils.
 

Functions

ElementWiseAssemblyMatrix toolbox::finiteelements::getElementWiseAssemblyMatrix (const Stencil &stencil)
 Derive element-wise matrix from stencil.
 
ComplexElementWiseAssemblyMatrix toolbox::finiteelements::getElementWiseAssemblyMatrix (const ComplexStencil &complexStencil)
 Derive element-wise matrix from stencil.
 
Stencil toolbox::finiteelements::reconstructUniformStencilFragments (const ElementWiseAssemblyMatrix &matrix)
 Reconstruct stencils from element matrices.
 
tarch::la::Vector< TwoPowerD *ThreePowerD, doubletoolbox::finiteelements::reconstructStencilFragments (const ElementWiseAssemblyMatrix &matrix)
 Reconstruct stencils from element matrices.
 
ElementWiseAssemblyMatrix toolbox::finiteelements::getElementWiseAssemblyMatrix (const VectorOfStencils &vectorOfStencils)
 
ElementWiseAssemblyMatrix toolbox::finiteelements::getElementWiseAssemblyMatrix (const VectorOfStencils &vectorOfStencils, const std::bitset< ThreePowerD > &cellIsInside)
 I originally thought it would be possible to identify how many neighbours there are from the adjacent vertices' state.
 
ComplexElementWiseAssemblyMatrix toolbox::finiteelements::getElementWiseAssemblyMatrix (const VectorOfComplexStencils &vectorOfStencils, const std::bitset< ThreePowerD > &cellIsInside)
 See non-complex variant.
 
int toolbox::finiteelements::mapElementMatrixEntryOntoStencilEntry (int row, int col)
 An element-wise assembly matrix is distilled from a sequence of \( 2^d \) stencils which are in turn \( 3^d \) double arrays.
 
int toolbox::finiteelements::mapElementMatrixEntryOntoStencilEntry (const tarch::la::Vector< Dimensions, int > &row, const tarch::la::Vector< Dimensions, int > &col)
 
double toolbox::finiteelements::getDiagonalElement (const ElementWiseAssemblyMatrix &matrix)
 
double toolbox::finiteelements::getDiagonalElement (const Stencil &stencil)
 
template<int StencilSize>
tarch::la::Vector< StencilSize *StencilSize, doubletoolbox::finiteelements::stencilProduct (const tarch::la::Vector< StencilSize, double > &a, const tarch::la::Vector< StencilSize, double > &b)
 
template<int StencilSize>
tarch::la::Vector< StencilSize *StencilSize *StencilSize, doubletoolbox::finiteelements::stencilProduct (const tarch::la::Vector< StencilSize, double > &a, const tarch::la::Vector< StencilSize, double > &b, const tarch::la::Vector< StencilSize, double > &c)
 
ElementWiseAssemblyMatrix toolbox::finiteelements::hierarchicalTransform (const ElementWiseAssemblyMatrix &matrix, const tarch::la::Vector< Dimensions, double > &h, double weight=1.0)
 
ElementWiseAssemblyMatrix toolbox::finiteelements::inverseHierarchicalTransform (const ElementWiseAssemblyMatrix &matrix, const tarch::la::Vector< Dimensions, double > &h, double weight=1.0)