LORENE
valeur_x.C
1/*
2 * Output computational coordinates \f$\xi\f$
3 *
4 * for:
5 * - Valeur
6 * - Mtbl_cf
7 */
8
9/*
10 * Copyright (c) 1999-2001 Jerome Novak
11 * Copyright (c) 1999-2001 Eric Gourgoulhon
12 *
13 * This file is part of LORENE.
14 *
15 * LORENE is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
19 *
20 * LORENE is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * You should have received a copy of the GNU General Public License
26 * along with LORENE; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 *
29 */
30
31
32char valeur_va_x_C[] = "$Header: /cvsroot/Lorene/C++/Source/Valeur/valeur_x.C,v 1.3 2014/10/13 08:53:51 j_novak Exp $" ;
33
34
35// Headers C
36#include <cassert>
37
38// Headers Lorene
39#include "mtbl.h"
40#include "valeur.h"
41
42namespace Lorene {
44
45 // Protection
46 assert(etat != ETATNONDEF) ;
47
48 for(int l=0; l<mg->get_nzone(); l++)
49 for(int k=0;k<mg->get_np(l);k++)
50 for(int j=0;j<mg->get_nt(l);j++)
51 for(int i=0;i<mg->get_nr(l);i++)
52 set(l,k,j,i) = mg->get_grille3d(l)->x[i];
53
54}
55}
Time evolution with partial storage (*** under development ***).
Definition evolution.h:371
const Mg3d * mg
Multi-grid Mgd3 on which this is defined.
Definition valeur.h:292
Tbl & set(int l)
Read/write of the value in a given domain (configuration space).
Definition valeur.h:363
void va_x()
Returns (r -sampling = RARE ) \ (r sampling = FIN ) \ (r -sampling = UNSURR )
Definition valeur_x.C:43
int etat
Logical state (ETATNONDEF , ETATQCQ or ETATZERO ).
Definition valeur.h:295
Lorene prototypes.
Definition app_hor.h:64