forked from etmc/tmLQCD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deriv_Sb.c
649 lines (513 loc) · 16.6 KB
/
deriv_Sb.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
/***********************************************************************
*
* Copyright (C) 2001 Martin Hasenbusch
*
* some changes to initial version by Carsten Urbach
*
* BG version Copyright (C) 2006, 2007 Carsten Urbach
*
* This file is part of tmLQCD.
*
* tmLQCD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* tmLQCD is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with tmLQCD. If not, see <http://www.gnu.org/licenses/>.
*
* deriv_Sb: function to compute the derivative
* of the phi^{\dag} Q psi with respect
* to the generators of the gauge group.
* without the clover part.
*
* Author: Martin Hasenbusch <[email protected]>
* Date: Fri Oct 26 15:06:27 MEST 2001
*
* both l and k are input
* for ieo = 0
* l resides on even lattice points and k on odd lattice points
* for ieo = 1
* l resides on odd lattice points and k on even lattice points
* the output is a su3adj field that is written to df0[][]
*
************************************************************************/
#ifdef HAVE_CONFIG_H
# include<tmlqcd_config.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "global.h"
#include "su3.h"
#include "boundary.h"
#include "xchange/xchange.h"
#include "sse.h"
#include "update_backward_gauge.h"
#include "hamiltonian_field.h"
#include "deriv_Sb.h"
#if (defined BGL && defined XLC)
void deriv_Sb(const int ieo, spinor * const l, spinor * const k,
hamiltonian_field_t * const hf, const double factor) {
int ix,iy, iz;
int ioff, icx, icy, icz;
su3 * restrict up ALIGN;
su3 * restrict um ALIGN;
su3adj * restrict ddd;
static su3adj der;
static su3 v1,v2;
static su3_vector psia,psib,phia,phib;
static spinor rr;
spinor * restrict r ALIGN;
spinor * restrict sp ALIGN;
spinor * restrict sm ALIGN;
/* We have 32 registers available */
double _Complex reg00, reg01, reg02, reg03, reg04, reg05;
double _Complex reg10, reg11, reg12, reg13, reg14, reg15;
/* For su3 matrix, use reg00 for missing register */
double _Complex v00, v01, v02, v10, v11, v12, v20, v21;
/* The following contains the left spinor (12 regs) and the final */
/* su3 matrix to trace over */
double _Complex r00, r01, r02, r10, r11, r12, r20, r21, r22,
r30, r31, r32;
#ifdef _KOJAK_INST
# pragma pomp inst begin(derivSb)
#endif
#pragma disjoint(*r, *sp, *sm, *up, *um, *ddd)
__alignx(16, l);
__alignx(16, k);
if(ieo==0) {
ioff=0;
}
else {
ioff=(VOLUME+RAND)/2;
}
/* for parallelization */
#ifdef TM_USE_MPI
xchange_2fields(k, l, ieo);
#endif
/************** loop over all lattice sites ****************/
ix=g_eo2lexic[ioff];
iy=g_iup[ix][0]; icy=g_lexic2eosub[iy];
sp = k + icy;
_prefetch_spinor(sp);
up=&hf->gaugefield[ix][0];
_prefetch_su3(up);
for(icx = ioff; icx < (VOLUME/2+ioff); icx++){
/* rr = (*(l + (icx-ioff))); */
/* rr=g_spinor_field[l][icx-ioff]; */
/* r=&rr; */
/* load left vector r and */
/* multiply with gamma5 */
r = l + (icx-ioff);
ix=g_eo2lexic[icx];
/*********************** direction +0 ********************/
ddd = &hf->derivative[ix][0];
_bgl_load_r0((*r).s0);
_bgl_load_r1((*r).s1);
_bgl_load_minus_r2((*r).s2);
_bgl_load_minus_r3((*r).s3);
_bgl_load_reg0((*sp).s0);
_bgl_load_reg0_up((*sp).s1);
_bgl_load_reg1((*sp).s2);
_bgl_load_reg1_up((*sp).s3);
_bgl_add_to_reg0_reg1();
_bgl_add_to_reg0_up_reg1_up();
_bgl_add_r0_to_r2_reg1();
_bgl_add_r1_to_r3_reg1_up();
iy=g_idn[ix][0]; icy=g_lexic2eosub[iy];
sm = k + icy;
_prefetch_spinor(sm);
um=&hf->gaugefield[iy][0];
_prefetch_su3(um);
_bgl_tensor_product_and_add();
/* result in v now */
/* v is daggered as compared to non-bgl version */
_bgl_su3_times_v(*up);
/* result in r now */
_bgl_complex_times_r(ka0);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/************** direction -0 ****************************/
ddd = &hf->derivative[iy][0];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sm->s0);
_bgl_load_reg0_up(sm->s1);
_bgl_load_reg1(sm->s2);
_bgl_load_reg1_up(sm->s3);
_bgl_sub_from_reg0_reg1();
_bgl_sub_from_reg0_up_reg1_up();
_bgl_sub_from_r0_r2_reg1();
_bgl_sub_from_r1_r3_reg1_up();
iy=g_iup[ix][1]; icy=g_lexic2eosub[iy];
sp = k + icy;
_prefetch_spinor(sp);
up=&hf->gaugefield[ix][1];
_prefetch_su3(up);
_bgl_tensor_product_and_add_d();
/* result in v now */
_bgl_su3_times_v(*um);
/* result in r now */
_bgl_complex_times_r(ka0);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/*************** direction +1 **************************/
ddd = &hf->derivative[ix][1];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sp->s0);
_bgl_load_reg0_up(sp->s1);
_bgl_load_reg1(sp->s2);
_bgl_load_reg1_up(sp->s3);
_bgl_i_mul_add_to_reg0_reg1_up();
_bgl_i_mul_add_to_reg0_up_reg1();
_bgl_i_mul_add_r0_to_r3_reg1();
_bgl_i_mul_add_r1_to_r2_reg1_up();
iy=g_idn[ix][1]; icy=g_lexic2eosub[iy];
sm = k + icy;
_prefetch_spinor(sm);
um=&hf->gaugefield[iy][1];
_prefetch_su3(um);
_bgl_tensor_product_and_add();
/* result in v now */
_bgl_su3_times_v(*up);
/* result in r now */
_bgl_complex_times_r(ka1);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/**************** direction -1 *************************/
ddd = &hf->derivative[iy][1];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sm->s0);
_bgl_load_reg0_up(sm->s1);
_bgl_load_reg1(sm->s2);
_bgl_load_reg1_up(sm->s3);
_bgl_i_mul_sub_from_reg0_reg1_up();
_bgl_i_mul_sub_from_reg0_up_reg1();
_bgl_i_mul_sub_from_r0_r3_reg1();
_bgl_i_mul_sub_from_r1_r2_reg1_up();
iy=g_iup[ix][2]; icy=g_lexic2eosub[iy];
sp = k + icy;
_prefetch_spinor(sp);
up=&hf->gaugefield[ix][2];
_prefetch_su3(up);
_bgl_tensor_product_and_add_d();
/* result in v now */
_bgl_su3_times_v(*um);
/* result in r now */
_bgl_complex_times_r(ka1);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/*************** direction +2 **************************/
ddd = &hf->derivative[ix][2];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sp->s0);
_bgl_load_reg0_up(sp->s1);
_bgl_load_reg1(sp->s2);
_bgl_load_reg1_up(sp->s3);
_bgl_add_to_reg0_reg1_up();
_bgl_sub_from_reg0_up_reg1();
_bgl_add_r0_to_r3_reg1();
_bgl_sub_from_r1_r2_reg1_up();
iy=g_idn[ix][2]; icy=g_lexic2eosub[iy];
sm = k + icy;
_prefetch_spinor(sm);
um=&hf->gaugefield[iy][2];
_prefetch_su3(um);
_bgl_tensor_product_and_add();
/* result in v now */
_bgl_su3_times_v(*up);
/* result in r now */
_bgl_complex_times_r(ka2);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/***************** direction -2 ************************/
ddd = &hf->derivative[iy][2];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sm->s0);
_bgl_load_reg0_up(sm->s1);
_bgl_load_reg1(sm->s2);
_bgl_load_reg1_up(sm->s3);
_bgl_sub_from_reg0_reg1_up();
_bgl_add_to_reg0_up_reg1();
_bgl_sub_from_r0_r3_reg1();
_bgl_add_r1_to_r2_reg1_up();
iy=g_iup[ix][3]; icy=g_lexic2eosub[iy];
sp = k + icy;
_prefetch_spinor(sp);
up=&hf->gaugefield[ix][3];
_prefetch_su3(up);
_bgl_tensor_product_and_add_d();
/* result in v now */
_bgl_su3_times_v(*um);
/* result in r now */
_bgl_complex_times_r(ka1);
_bgl_trace_lambda_mul_add_assign(*ddd, 2.*factor);
/****************** direction +3 ***********************/
ddd = &hf->derivative[ix][3];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sp->s0);
_bgl_load_reg0_up(sp->s1);
_bgl_load_reg1(sp->s2);
_bgl_load_reg1_up(sp->s3);
_bgl_i_mul_add_to_reg0_reg1();
_bgl_i_mul_sub_from_reg0_up_reg1_up();
_bgl_i_mul_add_r0_to_r2_reg1();
_bgl_i_mul_sub_from_r1_r3_reg1_up();
iy=g_idn[ix][3]; icy=g_lexic2eosub[iy];
sm = k + icy;
_prefetch_spinor(sm);
um=&hf->gaugefield[iy][3];
_prefetch_su3(um);
_bgl_tensor_product_and_add();
/* result in v now */
_bgl_su3_times_v(*up);
/* result in r now */
_bgl_complex_times_r(ka3);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/***************** direction -3 ************************/
ddd = &hf->derivative[iy][3];
_bgl_load_r0(r->s0);
_bgl_load_r1(r->s1);
_bgl_load_minus_r2(r->s2);
_bgl_load_minus_r3(r->s3);
_bgl_load_reg0(sm->s0);
_bgl_load_reg0_up(sm->s1);
_bgl_load_reg1(sm->s2);
_bgl_load_reg1_up(sm->s3);
_bgl_i_mul_sub_from_reg0_reg1();
_bgl_i_mul_add_to_reg0_up_reg1_up();
_bgl_i_mul_sub_from_r0_r2_reg1();
_bgl_i_mul_add_r1_to_r3_reg1_up();
/* something wrong here...*/
icz=icx+1;
if(icz==((VOLUME+RAND)/2+ioff)) icz=ioff;
iz=g_eo2lexic[icz];
iy=g_iup[iz][0]; icy=g_lexic2eosub[iy];
sp = k + icy;
_prefetch_spinor(sp);
up=&hf->gaugefield[iz][0];
_prefetch_su3(up);
_bgl_tensor_product_and_add_d();
/* result in v now */
_bgl_su3_times_v(*um);
/* result in r now */
_bgl_complex_times_r(ka3);
_bgl_trace_lambda_mul_add_assign((*ddd), 2.*factor);
/****************** end of loop ************************/
}
#ifdef _KOJAK_INST
#pragma pomp inst end(derivSb)
#endif
}
#else
void deriv_Sb(const int ieo, spinor * const l, spinor * const k,
hamiltonian_field_t * const hf, const double factor) {
#ifdef _GAUGE_COPY
if(g_update_gauge_copy) {
update_backward_gauge(hf->gaugefield);
}
#endif
/* for parallelization */
#ifdef TM_USE_MPI
xchange_2fields(k, l, ieo);
#endif
#ifdef TM_USE_OMP
#define static
#pragma omp parallel
{
#endif
int ix,iy;
int ioff, icx, icy;
su3 * restrict up ALIGN;
su3 * restrict um ALIGN;
static su3 v1,v2;
static su3_vector psia,psib,phia,phib;
static spinor rr;
spinor * restrict sp ALIGN;
spinor * restrict sm ALIGN;
#ifdef TM_USE_OMP
#undef static
#endif
#ifdef _KOJAK_INST
#pragma pomp inst begin(derivSb)
#endif
#ifdef XLC
#pragma disjoint(*sp, *sm, *up, *um)
#endif
#ifdef BGL
__alignx(16, l);
__alignx(16, k);
#endif
if(ieo==0) {
ioff=0;
}
else {
ioff=(VOLUME+RAND)/2;
}
/************** loop over all lattice sites ****************/
#ifdef TM_USE_OMP
#pragma omp for
#endif
for(icx = ioff; icx < (VOLUME/2+ioff); icx++){
ix=g_eo2lexic[icx];
rr = (*(l + (icx-ioff)));
/* rr=g_spinor_field[l][icx-ioff]; */
/*multiply the left vector with gamma5*/
_vector_minus_assign(rr.s2, rr.s2);
_vector_minus_assign(rr.s3, rr.s3);
/*********************** direction +0 ********************/
iy=g_iup[ix][0]; icy=g_lexic2eosub[iy];
sp = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
up=&g_gauge_field_copy[icx][0];
#else
up=&hf->gaugefield[ix][0];
#endif
_vector_add(psia,sp->s0,sp->s2);
_vector_add(psib,sp->s1,sp->s3);
_vector_add(phia,rr.s0,rr.s2);
_vector_add(phib,rr.s1,rr.s3);
_vector_tensor_vector_add(v1, phia, psia, phib, psib);
_su3_times_su3d(v2,*up,v1);
_complex_times_su3(v1, ka0, v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[ix][0], 2.*factor, v1);
/************** direction -0 ****************************/
iy=g_idn[ix][0]; icy=g_lexic2eosub[iy];
sm = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
um = up+1;
#else
um=&hf->gaugefield[iy][0];
#endif
_vector_sub(psia,sm->s0,sm->s2);
_vector_sub(psib,sm->s1,sm->s3);
_vector_sub(phia,rr.s0,rr.s2);
_vector_sub(phib,rr.s1,rr.s3);
_vector_tensor_vector_add(v1, psia, phia, psib, phib);
_su3_times_su3d(v2,*um,v1);
_complex_times_su3(v1,ka0,v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[iy][0], 2.*factor, v1);
/*************** direction +1 **************************/
iy=g_iup[ix][1]; icy=g_lexic2eosub[iy];
sp = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
up=um+1;
#else
up=&hf->gaugefield[ix][1];
#endif
_vector_i_add(psia,sp->s0,sp->s3);
_vector_i_add(psib,sp->s1,sp->s2);
_vector_i_add(phia,rr.s0,rr.s3);
_vector_i_add(phib,rr.s1,rr.s2);
_vector_tensor_vector_add(v1, phia, psia, phib, psib);
_su3_times_su3d(v2,*up,v1);
_complex_times_su3(v1,ka1,v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[ix][1], 2.*factor, v1);
/**************** direction -1 *************************/
iy=g_idn[ix][1]; icy=g_lexic2eosub[iy];
sm = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
um=up+1;
#else
um=&hf->gaugefield[iy][1];
#endif
_vector_i_sub(psia,sm->s0,sm->s3);
_vector_i_sub(psib,sm->s1,sm->s2);
_vector_i_sub(phia,rr.s0,rr.s3);
_vector_i_sub(phib,rr.s1,rr.s2);
_vector_tensor_vector_add(v1, psia, phia, psib, phib);
_su3_times_su3d(v2,*um,v1);
_complex_times_su3(v1,ka1,v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[iy][1], 2.*factor, v1);
/*************** direction +2 **************************/
iy=g_iup[ix][2]; icy=g_lexic2eosub[iy];
sp = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
up=um+1;
#else
up=&hf->gaugefield[ix][2];
#endif
_vector_add(psia,sp->s0,sp->s3);
_vector_sub(psib,sp->s1,sp->s2);
_vector_add(phia,rr.s0,rr.s3);
_vector_sub(phib,rr.s1,rr.s2);
_vector_tensor_vector_add(v1, phia, psia, phib, psib);
_su3_times_su3d(v2,*up,v1);
_complex_times_su3(v1,ka2,v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[ix][2], 2.*factor, v1);
/***************** direction -2 ************************/
iy=g_idn[ix][2]; icy=g_lexic2eosub[iy];
sm = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
um = up +1;
#else
um=&hf->gaugefield[iy][2];
#endif
_vector_sub(psia,sm->s0,sm->s3);
_vector_add(psib,sm->s1,sm->s2);
_vector_sub(phia,rr.s0,rr.s3);
_vector_add(phib,rr.s1,rr.s2);
_vector_tensor_vector_add(v1, psia, phia, psib, phib);
_su3_times_su3d(v2,*um,v1);
_complex_times_su3(v1,ka2,v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[iy][2], 2.*factor, v1);
/****************** direction +3 ***********************/
iy=g_iup[ix][3]; icy=g_lexic2eosub[iy];
sp = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
up=um+1;
#else
up=&hf->gaugefield[ix][3];
#endif
_vector_i_add(psia,sp->s0,sp->s2);
_vector_i_sub(psib,sp->s1,sp->s3);
_vector_i_add(phia,rr.s0,rr.s2);
_vector_i_sub(phib,rr.s1,rr.s3);
_vector_tensor_vector_add(v1, phia, psia, phib, psib);
_su3_times_su3d(v2,*up,v1);
_complex_times_su3(v1, ka3, v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[ix][3], 2.*factor, v1);
/***************** direction -3 ************************/
iy=g_idn[ix][3]; icy=g_lexic2eosub[iy];
sm = k + icy;
#if (defined _GAUGE_COPY && !defined _USE_HALFSPINOR && !defined _USE_TSPLITPAR)
um = up+1;
#else
um=&hf->gaugefield[iy][3];
#endif
_vector_i_sub(psia,sm->s0,sm->s2);
_vector_i_add(psib,sm->s1,sm->s3);
_vector_i_sub(phia,rr.s0,rr.s2);
_vector_i_add(phib,rr.s1,rr.s3);
_vector_tensor_vector_add(v1, psia, phia, psib, phib);
_su3_times_su3d(v2,*um,v1);
_complex_times_su3(v1,ka3,v2);
_trace_lambda_mul_add_assign_nonlocal(hf->derivative[iy][3], 2.*factor, v1);
/****************** end of loop ************************/
}
#ifdef TM_USE_OMP
} /* OpenMP closing brace */
#endif
#ifdef _KOJAK_INST
#pragma pomp inst end(derivSb)
#endif
}
#endif