Main Page | Directories | File List | File Members

def_global_weights_all.h File Reference

Go to the source code of this file.

Functions

void def_global_weights_all (void)


Function Documentation

void def_global_weights_all void   ) 
 

Definition at line 30 of file def_global_weights_all.h.

References detJ(), lg, Ne, omega, poids_K, and printf().

Referenced by main().

00031 {
00032  int l,m;
00033 
00034 // definition of the global weights
00035  for(l=0;l<lg;l++)
00036   for(m=0;m<Ne;m++){
00037    poids_K[l][m]=omega[l]*detJ(m); // do we need the absolute value of detJ???
00038 //   printf("poids_K[%d][%d] = %g\n",l,m,poids_K[l][m]);
00039   }
00040  printf("global gaussian weights defined...\n");
00041 }


© sourcejam.com 2005-2008