diff options
Diffstat (limited to 'src/patch/patch_system.hh')
-rw-r--r-- | src/patch/patch_system.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/patch/patch_system.hh b/src/patch/patch_system.hh index a1b4227..bc1cdbb 100644 --- a/src/patch/patch_system.hh +++ b/src/patch/patch_system.hh @@ -128,6 +128,7 @@ public: patch& ghosted_patch_irho_isigma_of_gpn(int gpn, int& irho, int& isigma) const; + // // ***** meta-info about gridfns ***** // @@ -142,6 +143,17 @@ public: // + // ***** gridfn operations ***** + // + + // dst = src + void gridfn_copy(int src_gfn, int dst_gfn); + + // dst += delta + void add_to_ghosted_gridfn(fp delta, int ghosted_dst_gfn); + + + // // ***** access to gridfns as 1-D arrays[gpn] ***** // ... n.b. this interface implicitly assumes that gridfn data // arrays are contiguous across patches; this is ensured by |