Peano
Loading...
Searching...
No Matches
Copy.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
6namespace toolbox {
7 namespace blockstructured {
29 int numberOfDoFsPerAxisInPatch,
30 const double* __restrict__ source,
31 int sourceIndex,
32 int sourceUnknowns,
33 int sourceHalo,
34 double* __restrict__ dest,
35 int destIndex,
36 int destUnknowns,
37 int destHalo
38 );
39
44 int numberOfDoFsPerAxisInPatch,
45 const double* __restrict__ source,
46 int sourceHalo,
47 double* __restrict__ dest,
48 int destHalo,
49 int unknowns
50 );
51
53 int numberOfDoFsPerAxisInPatch,
54 const double* __restrict__ source,
55 int sourceIndex,
56 int sourceUnknowns,
57 int sourceHalo,
58 double* __restrict__ dest,
59 int destIndex,
60 int destUnknowns,
61 int destHalo
62 );
63 }
64}
65
66
void copyUnknowns(int numberOfDoFsPerAxisInPatch, const double *__restrict__ source, int sourceHalo, double *__restrict__ dest, int destHalo, int unknowns)
Copy all unknowns.
double copyUnknownAndComputeMaxDifference(int numberOfDoFsPerAxisInPatch, const double *__restrict__ source, int sourceIndex, int sourceUnknowns, int sourceHalo, double *__restrict__ dest, int destIndex, int destUnknowns, int destHalo)
void copyUnknown(int numberOfDoFsPerAxisInPatch, const double *__restrict__ source, int sourceIndex, int sourceUnknowns, int sourceHalo, double *__restrict__ dest, int destIndex, int destUnknowns, int destHalo)
Copy one unknown from one patch to the other.