source: git/src/matrix.c @ 53496ab3

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 53496ab3 was a4adf09, checked in by Olly Betts <olly@…>, 11 years ago

NEWS,lib/,src/matrix.c,src/out.h,tests/calibrate_clino.out: Don't
report "Solving to find x coordinates" as we actually find y and z
in the same operation, and as a progress message it is redundant with
"Solving %d simultaneous equations" anyway.

  • Property mode set to 100644
File size: 13.4 KB
RevLine 
[421b7d2]1/* matrix.c
[d1b1380]2 * Matrix building and solving routines
[a4adf09]3 * Copyright (C) 1993-2003,2010,2013 Olly Betts
[846746e]4 *
[89231c4]5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
[846746e]9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
[89231c4]12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
[846746e]14 *
[89231c4]15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
[ecbc6c18]17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
[d1b1380]18 */
19
[2164fa4]20/*#define SOR 1*/
[702f518]21
[032ed06]22#if 0
23# define DEBUG_INVALID 1
24#endif
25
[a420b49]26#ifdef HAVE_CONFIG_H
27# include <config.h>
28#endif
[d1b1380]29
30#include "debug.h"
[a420b49]31#include "cavern.h"
[c082b69]32#include "filename.h"
33#include "message.h"
[d1b1380]34#include "netbits.h"
35#include "matrix.h"
36#include "out.h"
37
38#undef PRINT_MATRICES
39#define PRINT_MATRICES 0
40
41#undef DEBUG_MATRIX_BUILD
42#define DEBUG_MATRIX_BUILD 0
43
44#undef DEBUG_MATRIX
45#define DEBUG_MATRIX 0
46
47#if PRINT_MATRICES
[9965b2b]48static void print_matrix(real *M, real *B, long n);
[d1b1380]49#endif
50
[9965b2b]51static void choleski(real *M, real *B, long n);
[3fde384f]52
[d1b1380]53#ifdef SOR
[9965b2b]54static void sor(real *M, real *B, long n);
[d1b1380]55#endif
56
[a420b49]57/* for M(row, col) col must be <= row, so Y <= X */
[9965b2b]58# define M(X, Y) ((real *)M)[((((OSSIZE_T)(X)) * ((X) + 1)) >> 1) + (Y)]
[421b7d2]59              /* +(Y>X?0*printf("row<col (line %d)\n",__LINE__):0) */
[9965b2b]60/*#define M_(X, Y) ((real *)M)[((((OSSIZE_T)(Y)) * ((Y) + 1)) >> 1) + (X)]*/
[d1b1380]61
[a420b49]62static int find_stn_in_tab(node *stn);
63static int add_stn_to_tab(node *stn);
[eb18f4d]64static void build_matrix(node *list);
[d1b1380]65
66static long n_stn_tab;
67
[c19f129]68static pos **stn_tab;
[d1b1380]69
[032ed06]70extern void
[d9b5db53]71solve_matrix(node *list)
[032ed06]72{
73   node *stn;
[702f518]74   long n = 0;
[d9b5db53]75   FOR_EACH_STN(stn, list) {
[032ed06]76      if (!fixed(stn)) n++;
77   }
78   if (n == 0) return;
79
80   /* we just need n to be a reasonable estimate >= the number
81    * of stations left after reduction. If memory is
82    * plentiful, we can be crass.
83    */
[66de220]84   stn_tab = osmalloc((OSSIZE_T)(n * ossizeof(pos*)));
[4f613e0]85   n_stn_tab = 0;
[cb3d1e2]86
[d9b5db53]87   FOR_EACH_STN(stn, list) {
[032ed06]88      if (!fixed(stn)) add_stn_to_tab(stn);
89   }
90
[66de220]91   if (n_stn_tab < n) {
92      /* release unused entries in stn_tab */
93      stn_tab = osrealloc(stn_tab, n_stn_tab * ossizeof(pos*));
94   }
[cb3d1e2]95
[eb18f4d]96   build_matrix(list);
[2c9c3ff]97#if DEBUG_MATRIX
[2164fa4]98   FOR_EACH_STN(stn, list) {
[2aa930f]99      printf("(%8.2f, %8.2f, %8.2f ) ", POS(stn, 0), POS(stn, 1), POS(stn, 2));
[2164fa4]100      print_prefix(stn->name);
[2aa930f]101      putnl();
[2164fa4]102   }
[2c9c3ff]103#endif
[4f613e0]104
105   osfree(stn_tab);
[032ed06]106}
[d1b1380]107
[3fde384f]108#ifdef NO_COVARIANCES
[702f518]109# define FACTOR 1
[3fde384f]110#else
[702f518]111# define FACTOR 3
[3fde384f]112#endif
113
[a420b49]114static void
[eb18f4d]115build_matrix(node *list)
[a420b49]116{
[9965b2b]117   real *M;
[dbd68203]118   real *B;
[702f518]119   int dim;
[dbd68203]120
[eb18f4d]121   if (n_stn_tab == 0) {
[5b68ae1]122      if (!fQuiet)
123         puts(msg(/*Network solved by reduction - no simultaneous equations to solve.*/74));
[dbd68203]124      return;
125   }
[eb18f4d]126   /* (OSSIZE_T) cast may be needed if n_stn_tab>=181 */
127   M = osmalloc((OSSIZE_T)((((OSSIZE_T)n_stn_tab * FACTOR * (n_stn_tab * FACTOR + 1)) >> 1)) * ossizeof(real));
128   B = osmalloc((OSSIZE_T)(n_stn_tab * FACTOR * ossizeof(real)));
[dbd68203]129
[647407d]130   if (!fQuiet) {
[a4adf09]131      if (n_stn_tab == 1)
132         out_current_action(msg(/*Solving one equation*/78));
133      else
134         out_current_action1(msg(/*Solving %d simultaneous equations*/75), n_stn_tab);
[dbd68203]135   }
136
[3fde384f]137#ifdef NO_COVARIANCES
138   dim = 2;
139#else
140   dim = 0; /* fudge next loop for now */
141#endif
[a420b49]142   for ( ; dim >= 0; dim--) {
[2164fa4]143      node *stn;
144      int row;
145
[907fe10]146      /* Initialise M and B to zero - zeroing "linearly" will minimise
[421b7d2]147       * paging when the matrix is large */
[66de220]148      {
149         int end = n_stn_tab * FACTOR;
150         for (row = 0; row < end; row++) B[row] = (real)0.0;
151         end = ((OSSIZE_T)n_stn_tab * FACTOR * (n_stn_tab * FACTOR + 1)) >> 1;
152         for (row = 0; row < end; row++) M[row] = (real)0.0;
153      }
[dbd68203]154
[907fe10]155      /* Construct matrix - Go thru' stn list & add all forward legs between
156       * two unfixed stations to M (so each leg goes on exactly once).
[421b7d2]157       *
[907fe10]158       * All legs between two fixed stations can be ignored here.
[421b7d2]159       *
[907fe10]160       * All legs between a fixed and an unfixed station are then considered
161       * from the unfixed end (if we consider them from the fixed end we'd
162       * need to somehow detect when we're at a fixed point cut line and work
163       * out which side we're dealing with at this time. */
[d9b5db53]164      FOR_EACH_STN(stn, list) {
[2164fa4]165#ifdef NO_COVARIANCES
166         real e;
167#else
[dac18d8]168         svar e;
[eb18f4d]169         delta a;
[2164fa4]170#endif
[b5d3988]171         int f, t;
[dbd68203]172         int dirn;
[b5d3988]173#if DEBUG_MATRIX_BUILD
[dbd68203]174         print_prefix(stn->name);
[b5d3988]175         printf(" used: %d colour %ld\n",
[a420b49]176                (!!stn->leg[2]) << 2 | (!!stn -> leg[1]) << 1 | (!!stn->leg[0]),
[b5d3988]177                stn->colour);
[3fde384f]178
[907fe10]179         for (dirn = 0; dirn <= 2 && stn->leg[dirn]; dirn++) {
[b5d3988]180#ifdef NO_COVARIANCES
[907fe10]181            printf("Leg %d, vx=%f, reverse=%d, to ", dirn,
182                   stn->leg[dirn]->v[0], stn->leg[dirn]->l.reverse);
[b5d3988]183#else
[907fe10]184            printf("Leg %d, vx=%f, reverse=%d, to ", dirn,
185                   stn->leg[dirn]->v[0][0], stn->leg[dirn]->l.reverse);
[b5d3988]186#endif
[907fe10]187            print_prefix(stn->leg[dirn]->l.to->name);
188            putnl();
189         }
[dbd68203]190         putnl();
[d1b1380]191#endif /* DEBUG_MATRIX_BUILD */
[b5d3988]192
[907fe10]193         if (!fixed(stn)) {
[564f471]194            f = find_stn_in_tab(stn);
[907fe10]195            for (dirn = 0; dirn <= 2 && stn->leg[dirn]; dirn++) {
196               linkfor *leg = stn->leg[dirn];
197               node *to = leg->l.to;
198               if (fixed(to)) {
199                  bool fRev = !data_here(leg);
200                  if (fRev) leg = reverse_leg(leg);
201                  /* Ignore equated nodes */
[3fde384f]202#ifdef NO_COVARIANCES
[907fe10]203                  e = leg->v[dim];
204                  if (e != (real)0.0) {
205                     e = ((real)1.0) / e;
206                     M(f,f) += e;
[f52dcc7]207                     B[f] += e * POS(to, dim);
[907fe10]208                     if (fRev) {
[f52dcc7]209                        B[f] += leg->d[dim];
[907fe10]210                     } else {
[f52dcc7]211                        B[f] -= leg->d[dim];
[564f471]212                     }
[907fe10]213                  }
[3fde384f]214#else
[907fe10]215                  if (invert_svar(&e, &leg->v)) {
216                     delta b;
217                     int i;
218                     if (fRev) {
219                        adddd(&a, &POSD(to), &leg->d);
220                     } else {
221                        subdd(&a, &POSD(to), &leg->d);
222                     }
223                     mulsd(&b, &e, &a);
224                     for (i = 0; i < 3; i++) {
225                        M(f * FACTOR + i, f * FACTOR + i) += e[i];
226                        B[f * FACTOR + i] += b[i];
[564f471]227                     }
[907fe10]228                     M(f * FACTOR + 1, f * FACTOR) += e[3];
229                     M(f * FACTOR + 2, f * FACTOR) += e[4];
230                     M(f * FACTOR + 2, f * FACTOR + 1) += e[5];
231                  }
[3fde384f]232#endif
[907fe10]233               } else if (data_here(leg)) {
234                  /* forward leg, unfixed -> unfixed */
235                  t = find_stn_in_tab(to);
[d1b1380]236#if DEBUG_MATRIX
[907fe10]237                  printf("Leg %d to %d, var %f, delta %f\n", f, t, e,
238                         leg->d[dim]);
[d1b1380]239#endif
[907fe10]240                  /* Ignore equated nodes & lollipops */
[3fde384f]241#ifdef NO_COVARIANCES
[907fe10]242                  e = leg->v[dim];
243                  if (t != f && e != (real)0.0) {
244                     real a;
245                     e = ((real)1.0) / e;
246                     M(f,f) += e;
247                     M(t,t) += e;
248                     if (f < t) M(t,f) -= e; else M(f,t) -= e;
249                     a = e * leg->d[dim];
250                     B[f] -= a;
251                     B[t] += a;
252                  }
[3fde384f]253#else
[907fe10]254                  if (t != f && invert_svar(&e, &leg->v)) {
255                     int i;
256                     mulsd(&a, &e, &leg->d);
257                     for (i = 0; i < 3; i++) {
258                        M(f * FACTOR + i, f * FACTOR + i) += e[i];
259                        M(t * FACTOR + i, t * FACTOR + i) += e[i];
260                        if (f < t)
261                           M(t * FACTOR + i, f * FACTOR + i) -= e[i];
262                        else
263                           M(f * FACTOR + i, t * FACTOR + i) -= e[i];
264                        B[f * FACTOR + i] -= a[i];
265                        B[t * FACTOR + i] += a[i];
266                     }
267                     M(f * FACTOR + 1, f * FACTOR) += e[3];
268                     M(t * FACTOR + 1, t * FACTOR) += e[3];
269                     M(f * FACTOR + 2, f * FACTOR) += e[4];
270                     M(t * FACTOR + 2, t * FACTOR) += e[4];
271                     M(f * FACTOR + 2, f * FACTOR + 1) += e[5];
272                     M(t * FACTOR + 2, t * FACTOR + 1) += e[5];
273                     if (f < t) {
274                        M(t * FACTOR + 1, f * FACTOR) -= e[3];
275                        M(t * FACTOR, f * FACTOR + 1) -= e[3];
276                        M(t * FACTOR + 2, f * FACTOR) -= e[4];
277                        M(t * FACTOR, f * FACTOR + 2) -= e[4];
278                        M(t * FACTOR + 2, f * FACTOR + 1) -= e[5];
279                        M(t * FACTOR + 1, f * FACTOR + 2) -= e[5];
280                     } else {
281                        M(f * FACTOR + 1, t * FACTOR) -= e[3];
282                        M(f * FACTOR, t * FACTOR + 1) -= e[3];
283                        M(f * FACTOR + 2, t * FACTOR) -= e[4];
284                        M(f * FACTOR, t * FACTOR + 2) -= e[4];
285                        M(f * FACTOR + 2, t * FACTOR + 1) -= e[5];
286                        M(f * FACTOR + 1, t * FACTOR + 2) -= e[5];
[dbd68203]287                     }
288                  }
[907fe10]289#endif
[564f471]290               }
[907fe10]291            }
[dbd68203]292         }
[d1b1380]293      }
294
295#if PRINT_MATRICES
[eb18f4d]296      print_matrix(M, B, n_stn_tab * FACTOR); /* 'ave a look! */
[d1b1380]297#endif
298
299#ifdef SOR
[032ed06]300      /* defined in network.c, may be altered by -z<letters> on command line */
[a420b49]301      if (optimize & BITA('i'))
[eb18f4d]302         sor(M, B, n_stn_tab * FACTOR);
[dbd68203]303      else
[d1b1380]304#endif
[eb18f4d]305         choleski(M, B, n_stn_tab * FACTOR);
[d1b1380]306
[dbd68203]307      {
[a420b49]308         int m;
[eb18f4d]309         for (m = (int)(n_stn_tab - 1); m >= 0; m--) {
[3fde384f]310#ifdef NO_COVARIANCES
[c19f129]311            stn_tab[m]->p[dim] = B[m];
[032ed06]312            if (dim == 0) {
[4c07c51]313               SVX_ASSERT2(pos_fixed(stn_tab[m]),
[032ed06]314                       "setting station coordinates didn't mark pos as fixed");
315            }
[3fde384f]316#else
[702f518]317            int i;
318            for (i = 0; i < 3; i++) {
[c19f129]319               stn_tab[m]->p[i] = B[m * FACTOR + i];
[702f518]320            }
[4c07c51]321            SVX_ASSERT2(pos_fixed(stn_tab[m]),
[032ed06]322                    "setting station coordinates didn't mark pos as fixed");
[3fde384f]323#endif
[a420b49]324         }
[d1b1380]325#if EXPLICIT_FIXED_FLAG
[eb18f4d]326         for (m = n_stn_tab - 1; m >= 0; m--) fixpos(stn_tab[m]);
[d1b1380]327#endif
[dbd68203]328      }
329   }
330   osfree(B);
331   osfree(M);
[d1b1380]332}
333
[a420b49]334static int
335find_stn_in_tab(node *stn)
336{
[dbd68203]337   int i = 0;
[eb18f4d]338   pos *p = stn->name->pos;
339   while (stn_tab[i] != p)
[dbd68203]340      if (++i == n_stn_tab) {
[d1b1380]341#if DEBUG_INVALID
[a420b49]342         fputs("Station ", stderr);
[eb18f4d]343         fprint_prefix(stderr, stn->name);
344         fputs(" not in table\n\n", stderr);
[d1b1380]345#endif
346#if 0
[dbd68203]347         print_prefix(stn->name);
[b5d3988]348         printf(" used: %d colour %d\n",
[dbd68203]349                (!!stn->leg[2])<<2 | (!!stn->leg[1])<<1 | (!!stn->leg[0]),
[eb18f4d]350                stn->colour);
[d1b1380]351#endif
[a420b49]352         fatalerror(/*Bug in program detected! Please report this to the authors*/11);
[dbd68203]353      }
354   return i;
[d1b1380]355}
356
[a420b49]357static int
358add_stn_to_tab(node *stn)
359{
[dbd68203]360   int i;
[eb18f4d]361   pos *p = stn->name->pos;
[a420b49]362   for (i = 0; i < n_stn_tab; i++) {
[eb18f4d]363      if (stn_tab[i] == p) return i;
[dbd68203]364   }
[eb18f4d]365   stn_tab[n_stn_tab++] = p;
[dbd68203]366   return i;
[d1b1380]367}
368
[702f518]369/* Solve MX=B for X by Choleski factorisation - modified Choleski actually
370 * since we factor into LDL' while Choleski is just LL'
371 */
[d1b1380]372/* Note M must be symmetric positive definite */
373/* routine is entitled to scribble on M and B if it wishes */
[a420b49]374static void
[9965b2b]375choleski(real *M, real *B, long n)
[a420b49]376{
[dbd68203]377   int i, j, k;
[d1b1380]378#ifndef NO_PERCENTAGE
[67508f0]379   unsigned long flopsTot, flops = 0, temp = 0;
[5b68ae1]380#define do_percent(N) BLK(flops += (N); printf("%d%%\r", (int)((100.0 * flops) / flopsTot));)
[d1b1380]381
[67508f0]382   /* calc as double so we don't overflow a unsigned long with intermediate results */
383   flopsTot = (unsigned long)(n * (2.0 * n * n + 9.0 * n - 5.0) / 6.0);
[a420b49]384   /* 3*n*(n-1)/2 + n*(n-1)*(n-2)/3 + n*(n-1)/2 + n + n*(n-1)/2; */
385   /* n*(9*n-5 + 2*n*n )/6 ; */
[f52dcc7]386#endif
[d1b1380]387
[a420b49]388   for (j = 1; j < n; j++) {
[3fde384f]389      real V;
[a420b49]390      for (i = 0; i < j; i++) {
[421b7d2]391         V = (real)0.0;
[a420b49]392         for (k = 0; k < i; k++) V += M(i,k) * M(j,k) * M(k,k);
393         M(j,i) = (M(j,i) - V) / M(i,i);
[dbd68203]394      }
395      V = (real)0.0;
[a420b49]396      for (k = 0; k < j; k++) V += M(j,k) * M(j,k) * M(k,k);
[3fde384f]397      M(j,j) -= V; /* may be best to add M() last for numerical reasons too */
398
[d1b1380]399#ifndef NO_PERCENTAGE
[dbd68203]400      if (fPercent) {
[67508f0]401         temp += ((unsigned long)j + j) + 1ul; /* avoid multiplies */
[dbd68203]402         do_percent(temp);
403      }
[d1b1380]404#endif
[dbd68203]405   }
[d1b1380]406
[dbd68203]407   /* Multiply x by L inverse */
[a420b49]408   for (i = 0; i < n - 1; i++) {
409      for (j = i + 1; j < n; j++) {
[dbd68203]410         B[j] -= M(j,i) * B[i];
[3fde384f]411      }
[dbd68203]412   }
[d1b1380]413
414#ifndef NO_PERCENTAGE
[dbd68203]415   if (fPercent) {
[67508f0]416      temp = (unsigned long)n * (n - 1ul) / 2ul; /* needed again lower down */
[dbd68203]417      do_percent(temp);
418   }
[d1b1380]419#endif
420
[dbd68203]421   /* Multiply x by D inverse */
[a420b49]422   for (i = 0; i < n; i++) {
[dbd68203]423      B[i] /= M(i,i);
[3fde384f]424   }
425
[d1b1380]426#ifndef NO_PERCENTAGE
[67508f0]427   if (fPercent) do_percent((unsigned long)n);
[d1b1380]428#endif
429
[3fde384f]430   /* Multiply x by (L transpose) inverse */
[9f5d1675]431   for (i = (int)(n - 1); i > 0; i--) {
[a420b49]432      for (j = i - 1; j >= 0; j--) {
[421b7d2]433         B[j] -= M(i,j) * B[i];
[3fde384f]434      }
[dbd68203]435   }
[d1b1380]436
437#ifndef NO_PERCENTAGE
[dbd68203]438   if (fPercent) do_percent(temp);
[d1b1380]439# undef do_percent
440#endif
441
[dbd68203]442   /* printf("\n%ld/%ld\n\n",flops,flopsTot); */
[d1b1380]443}
444
445#ifdef SOR
446/* factor to use for SOR (must have 1 <= SOR_factor < 2) */
[702f518]447#define SOR_factor 1.93 /* 1.95 */
[d1b1380]448
449/* Solve MX=B for X by SOR of Gauss-Siedel */
450/* routine is entitled to scribble on M and B if it wishes */
[a420b49]451static void
[9965b2b]452sor(real *M, real *B, long n)
[a420b49]453{
[dbd68203]454   real t, x, delta, threshold, t2;
455   int row, col;
456   real *X;
457   long it = 0;
[d1b1380]458
[a420b49]459   X = osmalloc(n * ossizeof(real));
[d1b1380]460
[dbd68203]461   threshold = 0.00001;
[d1b1380]462
[647407d]463   printf("reciprocating diagonal\n"); /* TRANSLATE */
[d1b1380]464
[3fde384f]465   /* munge diagonal so we can multiply rather than divide */
[a420b49]466   for (row = n - 1; row >= 0; row--) {
[dbd68203]467      M(row,row) = 1 / M(row,row);
[702f518]468      X[row] = 0;
[dbd68203]469   }
[d1b1380]470
[647407d]471   printf("starting iteration\n"); /* TRANSLATE */
[d1b1380]472
[dbd68203]473   do {
474      /*printf("*");*/
475      it++;
476      t = 0.0;
[a420b49]477      for (row = 0; row < n; row++) {
[dbd68203]478         x = B[row];
[a420b49]479         for (col = 0; col < row; col++) x -= M(row,col) * X[col];
480         for (col++; col < n; col++) x -= M(col,row) * X[col];
[dbd68203]481         x *= M(row,row);
482         delta = (x - X[row]) * SOR_factor;
483         X[row] += delta;
484         t2 = fabs(delta);
485         if (t2 > t) t = t2;
486      }
[702f518]487      printf("% 6d: %8.6f\n", it, t);
[dbd68203]488   } while (t >= threshold && it < 100000);
[d1b1380]489
[dbd68203]490   if (t >= threshold) {
491      fprintf(stderr, "*not* converged after %ld iterations\n", it);
492      BUG("iteration stinks");
493   }
[d1b1380]494
[647407d]495   printf("%ld iterations\n", it); /* TRANSLATE */
[d1b1380]496
497#if 0
[dbd68203]498   putnl();
[a420b49]499   for (row = n - 1; row >= 0; row--) {
[dbd68203]500      t = 0.0;
[a420b49]501      for (col = 0; col < row; col++) t += M(row, col) * X[col];
502      t += X[row] / M(row, row);
503      for (col = row + 1; col < n; col++)
504         t += M(col, row) * X[col];
[b5d3988]505      printf("[ %f %f ]\n", t, B[row]);
[dbd68203]506   }
[d1b1380]507#endif
508
[a420b49]509   for (row = n - 1; row >= 0; row--) B[row] = X[row];
[d1b1380]510
[dbd68203]511   osfree(X);
[647407d]512   printf("\ndone\n"); /* TRANSLATE */
[dbd68203]513}
[d1b1380]514#endif
515
516#if PRINT_MATRICES
[a420b49]517static void
[9965b2b]518print_matrix(real *M, real *B, long n)
[a420b49]519{
[702f518]520   long row, col;
[dbd68203]521   printf("Matrix, M and vector, B:\n");
[a420b49]522   for (row = 0; row < n; row++) {
523      for (col = 0; col <= row; col++) printf("%6.2f\t", M(row, col));
524      for (; col <= n; col++) printf(" \t");
[dbd68203]525      printf("\t%6.2f\n", B[row]);
526   }
527   putnl();
528   return;
[d1b1380]529}
530#endif
Note: See TracBrowser for help on using the repository browser.