Peano
Loading...
Searching...
No Matches
Derivative.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 "
peano4/utils/Globals.h
"
7
#include "
tarch/la/Vector.h
"
8
9
10
namespace
toolbox
{
11
namespace
blockstructured {
29
void
computeGradient
(
30
int
numberOfDoFsPerAxisInPatch,
31
const
double
* __restrict__ source,
32
int
sourceIndex,
33
int
sourceUnknowns,
34
int
sourceHalo,
35
double
* __restrict__ dest,
36
const
tarch::la::Vector<Dimensions,int>
& destIndex,
37
int
destUnknowns,
38
int
destHalo,
39
const
tarch::la::Vector<Dimensions,double>
& volumeH
40
);
41
42
43
double
computeGradientAndReturnMaxDifference
(
44
int
numberOfDoFsPerAxisInPatch,
45
const
double
* __restrict__ source,
46
int
sourceIndex,
47
int
sourceUnknowns,
48
int
sourceHalo,
49
double
* __restrict__ dest,
50
const
tarch::la::Vector<Dimensions,int>
& destIndex,
51
int
destUnknowns,
52
int
destHalo,
53
const
tarch::la::Vector<Dimensions,double>
& volumeH
54
);
55
}
56
}
57
58
Globals.h
Vector.h
toolbox::blockstructured::computeGradient
void computeGradient(int numberOfDoFsPerAxisInPatch, const double *__restrict__ source, int sourceIndex, int sourceUnknowns, int sourceHalo, double *__restrict__ dest, const tarch::la::Vector< Dimensions, int > &destIndex, int destUnknowns, int destHalo, const tarch::la::Vector< Dimensions, double > &volumeH)
This routine assumes that we have two patches of the same numberOfDoFsPerAxisInPatch.
toolbox::blockstructured::computeGradientAndReturnMaxDifference
double computeGradientAndReturnMaxDifference(int numberOfDoFsPerAxisInPatch, const double *__restrict__ source, int sourceIndex, int sourceUnknowns, int sourceHalo, double *__restrict__ dest, const tarch::la::Vector< Dimensions, int > &destIndex, int destUnknowns, int destHalo, const tarch::la::Vector< Dimensions, double > &volumeH)
toolbox
Definition
InterpolationRestriction.h:10
tarch::la::Vector
Simple vector class.
Definition
Vector.h:159
src
toolbox
blockstructured
Derivative.h
Generated on Wed Nov 4 2026 08:20:47 for Peano by
1.9.8