Peano
Loading...
Searching...
No Matches
BSplinesStencilFactory.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include "tarch/la/Vector.h"
7#include "tarch/la/Matrix.h"
9
10
11namespace toolbox {
12 namespace finiteelements {
14 }
15}
16
17
29 public:
41
46 static tarch::la::Vector<3,double> get1DMassStencilP1(int elementOfSupport);
47
51 static tarch::la::Vector<5,double> get1DMassStencilP2(int elementOfSupport);
52
56 static tarch::la::Vector<7,double> get1DMassStencilP3(int elementOfSupport);
57
61 static tarch::la::Vector<9,double> get1DMassStencilP4(int elementOfSupport);
62
76
81
86
91
102 template <int p, int N>
106 );
107
108
109 template <int p, int N>
114 );
115};
116
117
118#include "BSplinesStencilFactory.cpph"
119
120
Static (i.e.
Definition Matrix.h:42
static tarch::la::Matrix< N *N, N *N, double > getElementWiseAssemblyMatrix(tarch::la::Vector< 2 *p+1, double > stencilX[N], tarch::la::Vector< 2 *p+1, double > stencilY[N])
N means NumberOfInfluencingVerticesAroundCurrentElementAlongEachAxis.
static tarch::la::Vector< 11, double > get1DMassStencilP5()
static tarch::la::Vector< 15, double > get1DLaplaceStencilP7()
static tarch::la::Vector< 3, double > get1DLaplaceStencilP1(int elementOfSupport)
static tarch::la::Matrix< N *N *N, N *N *N, double > getElementWiseAssemblyMatrix(tarch::la::Vector< 2 *p+1, double > stencilX[N], tarch::la::Vector< 2 *p+1, double > stencilY[N], tarch::la::Vector< 2 *p+1, double > stencilZ[N])
static tarch::la::Vector< 13, double > get1DMassStencilP6()
static tarch::la::Vector< 7, double > get1DMassStencilP3(int elementOfSupport)
Spans 2 elements in each direction.
static tarch::la::Vector< SevenPowerD, double > getMassStencilP3()
static tarch::la::Vector< 5, double > get1DMassStencilP2(int elementOfSupport)
Spans 1.5 elements in each direction, i.e.
static tarch::la::Vector< 9, double > get1DLaplaceStencilP4()
static tarch::la::Vector< 17, double > get1DLaplaceStencilP8()
static tarch::la::Vector< 3, double > get1DMassStencilP1()
static tarch::la::Vector< 5, double > get1DLaplaceStencilP2(int elementOfSupport)
static tarch::la::Vector< 5, double > get1DMassStencilP2()
static tarch::la::Vector< NinePowerD, double > getMassStencilP4()
static tarch::la::Vector< 3, double > get1DLaplaceStencilP1()
Stencil is not scaled at all with any mesh width.
static tarch::la::Vector< 5, double > get1DLaplaceStencilP2()
static tarch::la::Vector< ThreePowerD, double > getMassStencilP1()
static tarch::la::Vector< 9, double > get1DMassStencilP4(int elementOfSupport)
Spans 2.5 elements in each direction, i.e.
static tarch::la::Vector< 11, double > get1DLaplaceStencilP5()
static tarch::la::Vector< ThreePowerD, double > getLaplacianStencilP1(const tarch::la::Vector< Dimensions, double > &scaling=1.0)
static tarch::la::Vector< 7, double > get1DMassStencilP3()
static tarch::la::Vector< NinePowerD, double > getLaplacianStencilP4(const tarch::la::Vector< Dimensions, double > &scaling=1.0)
static tarch::la::Vector< 9, double > get1DLaplaceStencilP4(int elementOfSupport)
static tarch::la::Vector< 9, double > get1DMassStencilP4()
static tarch::la::Vector< 15, double > get1DMassStencilP7()
static tarch::la::Vector< FivePowerD, double > getLaplacianStencilP2(const tarch::la::Vector< Dimensions, double > &scaling=1.0)
static tarch::la::Vector< 17, double > get1DMassStencilP8()
static tarch::la::Vector< 7, double > get1DLaplaceStencilP3()
static tarch::la::Vector< 3, double > get1DMassStencilP1(int elementOfSupport)
A stencil of order p decomposes into 2p stencils among its support.
static tarch::la::Vector< 7, double > get1DLaplaceStencilP3(int elementOfSupport)
static tarch::la::Vector< 13, double > get1DLaplaceStencilP6()
static tarch::la::Vector< SevenPowerD, double > getLaplacianStencilP3(const tarch::la::Vector< Dimensions, double > &scaling=1.0)
static tarch::la::Vector< FivePowerD, double > getMassStencilP2()
Simple vector class.
Definition Vector.h:159