00001 #ifndef CRSECTION2D_H 00002 #define CRSECTION2D_H 00003 00004 #include <stdio.h> 00005 #include "iotools.h" 00006 struct vector; 00007 struct atsel; 00008 00009 /** 00010 class crsection2d defines cross section for twodimensional transport problems 00011 */ 00012 00013 class crsection2d 00014 { 00015 public: 00016 crsection2d (void); 00017 ~crsection2d (void); 00018 void read (XFILE *in); 00019 void print (FILE *out); 00020 void changeparam (atsel &atcs,vector &val); 00021 00022 // necessary components for every problem type 00023 /// thickness of the problem 00024 double t; 00025 00026 /// density of material (necessary for nonstationary problems) 00027 double rho; 00028 00029 }; 00030 00031 #endif