continue format problem
Muhannad
muhannad@imp.uni-erlangen.de
Fri Sep 3 08:26:00 GMT 2004
Hi,
I compile a source.f90 with gfortran95 compiler. In my source file a
input file should be opened and read, but appearently f95 does not
recnognize the used format in that input file (& used as a format). may
be this & is for g95 is charachter variable. the shown error is:
*Fortran runtime error: Missing format for FORMATTED data transfer
*I appriciateany help
thanks
For more clearity this the file I tried to read from
This file contains parameters in namelists that are
often modified during a sequence of runs.
!---------------------------------------------------------------------
Mcparameters define the number of histories (pmax) and the maximum
number of events per history (cmax), seed is initial seed for the rng
*&*mcparameters pmax_mu=100, pmax_si2=100, cmax=1000, xmax=100 /
!---------------------------------------------------------------------
Sourcetype defines source geometry, source directionality,
source energy and source polarization. The definitions are as follow:
sg=1: point sg=2: planar
sd=1: isotropic in z>0 sd=11: isotropic in z<0 sd=3: full isotropic
sd=2: lambertian z>0 sd=22: lambertian z<0
sd=4: oriented along the z axis (to the semi-plane z>0)(40:z<0)
sd=41: oriented along an arbitrary incident angle (wrt to the normal)
se=1: sampled from a multiple-line table at "spectrum.in"
se=2: uniformly distributed in visible (400-700 nm)
se=3: sampled from function
blablabla
sp=1: no polarization effect, assuming always averaged equations
note: handling of Rayleigh scattering without polarization
is not valid
sp=2: random linearly polarized emission
&sourcetype sg=1, sd=3, se=1, sp=2 /
&expsource expslab=1, expl=1 /
&incidence_angle iangle=45 / this for specular reflectance calculations
&scattering_type scat_type=2 /
!------------------------------------
dose one notice something wrong
--
|****************************************|
Muhannad Mahmoud (Dipl.-Ing.)
Institute of Medical Physics
University of Erlangen
Henkestr.91
91052 Erlangen, Germany
phone + 49 9131 8525883
fax + 49 9131 8522824
muhannad@imp.uni-erlangen.de
More information about the Fortran
mailing list