Skip to content

Commit

Permalink
Z4co: beautify header files
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Jul 11, 2024
1 parent 115ce12 commit 9a9210d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Z4co/src/derivs.hxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DERIVS_HXX
#define DERIVS_HXX
#ifndef Z4CO_DERIVS_HXX
#define Z4CO_DERIVS_HXX

#include <div.hxx>
#include <loop_device.hxx>
Expand Down Expand Up @@ -489,4 +489,4 @@ apply_upwind_diss(const cGH *restrict const cctkGH, const GF3D2<const T> &gf_,

} // namespace Z4co

#endif // #ifndef DERIVS_HXX
#endif // #ifndef Z4CO_DERIVS_HXX
5 changes: 5 additions & 0 deletions Z4co/wolfram/Z4co_set_ADM.hxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/* Z4co_set_ADM.hxx */
/* Produced with Mathematica */

#ifndef Z4CO_SET_ADM_HXX
#define Z4CO_SET_ADM_HXX

const GF3D2<CCTK_REAL> &local_ADMgam11 = gf_ADMgam(0,0);
const GF3D2<CCTK_REAL> &local_ADMgam12 = gf_ADMgam(0,1);
const GF3D2<CCTK_REAL> &local_ADMgam13 = gf_ADMgam(0,2);
Expand Down Expand Up @@ -118,4 +121,6 @@ beta3

});

#endif // #ifndef Z4CO_SET_ADM_HXX

/* Z4co_set_ADM.hxx */
5 changes: 5 additions & 0 deletions Z4co/wolfram/Z4co_set_constraint.hxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/* Z4co_set_constraint.hxx */
/* Produced with Mathematica */

#ifndef Z4CO_SET_CONSTRAINT_HXX
#define Z4CO_SET_CONSTRAINT_HXX

const GF3D2<CCTK_REAL> &local_ZtC1 = gf_ZtC(0);
const GF3D2<CCTK_REAL> &local_ZtC2 = gf_ZtC(1);
const GF3D2<CCTK_REAL> &local_ZtC3 = gf_ZtC(2);
Expand Down Expand Up @@ -1026,4 +1029,6 @@ local_MtC3.store(mask, index2,
});
});

#endif // #ifndef Z4CO_SET_CONSTRAINT_HXX

/* Z4co_set_constraint.hxx */
5 changes: 5 additions & 0 deletions Z4co/wolfram/Z4co_set_rhs.hxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/* Z4co_set_rhs.hxx */
/* Produced with Mathematica */

#ifndef Z4CO_SET_RHS_HXX
#define Z4CO_SET_RHS_HXX

const GF3D2<CCTK_REAL> &local_dtchi = gf_dtchi;
const GF3D2<CCTK_REAL> &local_dtgamt11 = gf_dtgamt(0,0);
const GF3D2<CCTK_REAL> &local_dtgamt12 = gf_dtgamt(0,1);
Expand Down Expand Up @@ -1515,4 +1518,6 @@ local_dtbeta3.store(mask, index2,
});
});

#endif // #ifndef Z4CO_SET_RHS_HXX

/* Z4co_set_rhs.hxx */
File renamed without changes.

0 comments on commit 9a9210d

Please sign in to comment.