Main Page | Directories | File List | File Members

def_d_base_all.h

Go to the documentation of this file.
00001 /*
00002    This file belongs to Aeneas. Aeneas is a GNU package released under GPL 3 license.
00003    This code is a simulator for Submicron 3D Semiconductor Devices. 
00004    It implements the Monte Carlo transport in 3D tetrahedra meshes
00005    for the simulation of the semiclassical Boltzmann equation for both electrons.
00006    It also includes all the relevant quantum effects for nanodevices.
00007 
00008    Copyright (C) 2007 Jean Michel Sellier <sellier@dmi.unict.it>
00009  
00010    This program is free software; you can redistribute it and/or modify
00011    it under the terms of the GNU General Public License as published by
00012    the Free Software Foundation; either version 3, or (at your option)
00013    any later version.
00014 
00015    This program is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018    GNU General Public License for more details.
00019 
00020    You should have received a copy of the GNU General Public License
00021    along with this program. If not, see <http://www.gnu.org/licenses/>.
00022 */
00023 
00024 // Created on : 06 june 2007, Siracusa, Jean Michel Sellier
00025 // Last modified : 06 june 2007, Siracusa, Jean Michel Sellier
00026 
00027 // Defines the value of the derivative of local shape functions (\psi_n and \theta_n 
00028 // which are coincident in our case) in the various local Gauss standard local 
00029 // points with respect to \hat{x}_k. (isoparametric transformations).
00030 
00031 void def_d_base_all(void)
00032 {
00033  int k,n;
00034 
00035 // printf("\n");
00036 
00037  for(k=0;k<dim;k++)
00038   for(n=0;n<ng;n++){
00039    d_base_geo[k][n]=d_theta(n,k);
00040 //    printf("d_base_geo[%d][%d][%d] = %g\n",k,n,l,d_base_geo[k][n][l]);
00041   }
00042 
00043 // printf("\n");
00044 
00045  for(k=0;k<dim;k++)
00046   for(n=0;n<ng;n++){
00047    d_base_ref[k][n]=d_theta(n,k);
00048 //    printf("d_base_ref[%d][%d][%d] = %g\n",k,n,l,d_base_ref[k][n][l]);
00049   }
00050 
00051  printf("d_base_geo[][] and d_base_ref[][] are now defined...\n");
00052 }

© sourcejam.com 2005-2008