Skip to content

Commit

Permalink
removed all nan's
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenifer Gonzalez Lopez committed May 19, 2009
1 parent 4efed85 commit 3bae2c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
36 changes: 0 additions & 36 deletions sf_calc_action.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,42 +38,6 @@ void dirichlet_boundary_conditions(int t) {
}
}

#define _su3_nan(u) \
(u).c00.re=1./0.0; \
(u).c00.im=1./0.0; \
(u).c01.re=1./0.0; \
(u).c01.im=1./0.0; \
(u).c02.re=1./0.0; \
(u).c02.im=1./0.0; \
(u).c10.re=1./0.0; \
(u).c10.im=1./0.0; \
(u).c11.re=1./0.0; \
(u).c11.im=1./0.0; \
(u).c12.re=1./0.0; \
(u).c12.im=1./0.0; \
(u).c20.re=1./0.0; \
(u).c20.im=1./0.0; \
(u).c21.re=1./0.0; \
(u).c21.im=1./0.0; \
(u).c22.re=1./0.0; \
(u).c22.im=1./0.0;

/* the next function sets
all the gauge links in the time direction (from t on) to nan.
Note that the rest of the links at the boundaries (spatial links) are not yet touched here */
void nan_dirichlet_boundary_conditions(int t) {

int ix;

for (ix=0;ix<VOLUME;ix++){

if (g_t[ix] == t) {

_su3_nan(g_gauge_field[ix][0]);

}
}
}

/* this function sets all the spatial links located at the time boundaries to one
it does nothing to the time-like links */
Expand Down
1 change: 0 additions & 1 deletion sf_calc_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ void set_all_links_to_one();
void set_all_links_to_one_with_dirichlet(int t);
void print_su3_matrix (su3 u);
void sf_boundary_conditions_spatially_constant_abelian_field(int t, double eta);
void nan_dirichlet_boundary_conditions(int t);

/*** MEASUREMENTS ***/

Expand Down

0 comments on commit 3bae2c0

Please sign in to comment.