SG++-Doxygen-Documentation
|
Public Member Functions | |
def | computeBilinearForm (self, grid) |
def | computeBilinearFormByList (self, gs, gpsi, basisi, gpsj, basisj) |
def | computeBilinearFormByRow (self, gs, gpi, basisi, gpsj, basisj) |
def | computeBilinearFormEntry (self, gs, gpi, basisi, gpj, basisj, d) |
def | getBilinearFormEntry (self, gs, gpi, basisi, gpj, basisj) |
def | hasValue (self, gpi, gpj, d) |
Generic object for quadrature strategies
def python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearForm | ( | self, | |
grid | |||
) |
Compute bilinear form for the current grid @param grid: Grid @return DataMatrix
References python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormByList(), and python.uq.operations.sparse_grid.getBasis().
def python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormByList | ( | self, | |
gs, | |||
gpsi, | |||
basisi, | |||
gpsj, | |||
basisj | |||
) |
Compute bilinear form for two lists of grid points @param gs: HashGridStorage @param gpsi: list of HashGridPoint @param basisi: SG++ basis for grid indices gpsi @param gpsj: list of HashGridPoint @param basisj: SG++ basis for grid indices gpsj @return: numpy array
Referenced by python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearForm().
def python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormByRow | ( | self, | |
gs, | |||
gpi, | |||
basisi, | |||
gpsj, | |||
basisj | |||
) |
Compute the bilinear form of one grid point with a list of grid points @param gs: HashGridStorage @param gpi: HashGridPoint @param basisi: SG++ Basis for grid indices i @param gpsj: list of HashGridPoint @param basisj: SG++ Basis for grid indices j @return DataVector
Referenced by python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormByList().
def python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormEntry | ( | self, | |
gs, | |||
gpi, | |||
basisi, | |||
gpj, | |||
basisj, | |||
d | |||
) |
Compute the bilinear form of one grid point with another one @param gs: grid storage @param gpi: HashGridPoint @param basisi: SG++ Basis @param gpj: HashGridPoint @param basisj: SG++ Basis @param d: int dimension
Referenced by python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.getBilinearFormEntry().
def python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.getBilinearFormEntry | ( | self, | |
gs, | |||
gpi, | |||
basisi, | |||
gpj, | |||
basisj | |||
) |
Restore the bilinear form of two grid points if it is available. If not, forward the result to the computation method. @param gs: HashGridStorage @param gpi: HashGridPoint @param basisi: SG++ Basis @param gpj: HashGridPoint @param basisj: SG++ Basis
References python.uq.quadrature.HashQuadrature.HashQuadrature._map, python.uq.quadrature.HashQuadrature.HashQuadratureMap._map, sgpp::base::GridDataBase._map, python.uq.quadrature.bilinearform.BilinearGaussQuadratureStrategy.BilinearGaussQuadratureStrategy.computeBilinearFormEntry(), python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormEntry(), python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.hasValue(), python.uq.parameters.Parameter.Parameter.hasValue(), and python.uq.parameters.ParameterDescriptor.ParameterDescriptor.hasValue().
Referenced by python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.computeBilinearFormByRow().
def python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.hasValue | ( | self, | |
gpi, | |||
gpj, | |||
d | |||
) |
References python.uq.quadrature.HashQuadrature.HashQuadrature._map, python.uq.quadrature.HashQuadrature.HashQuadratureMap._map, sgpp::base::GridDataBase._map, python.uq.quadrature.HashQuadrature.HashQuadrature._U, python.uq.quadrature.bilinearform.PiecewiseConstantQuadratureStrategy.PiecewiseConstantQuadratureStrategy._U, and python.uq.quadrature.bilinearform.SparseGridQuadratureStrategy.SparseGridQuadratureStrategy._U.
Referenced by python.uq.quadrature.bilinearform.BilinearQuadratureStrategy.BilinearQuadratureStrategy.getBilinearFormEntry(), python.uq.quadrature.linearform.LinearQuadratureStrategy.LinearQuadratureStrategy.getLinearFormEntry(), and python.uq.quadrature.trilinearform.TrilinearQuadratureStrategy.TrilinearQuadratureStrategy.getTrilinearFormEntry().