Mydata
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 61 articles for 0.000 sec
Re: Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: Gib Bogle
Date: May 1, 2008 13:56

... x,y,z real, allocatable :: mydata(:) end type type(mytype), allocatable ... 500) then allocate(cell(i)%%mydata(10)) else allocate(cell(i)%%...type cell_data integer, allocatable, dimension(:) :: mydata integer :: some_int end type cell_data ... assignment to acell allocates acell%%mydata (deallocating it first if it...
Show full article (3.39Kb) · Show article thread
Re: Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: James Van Buskirk
Date: Apr 29, 2008 13:30

... extra_mem () { struct array1_integer(kind=4) mydata; static integer(kind=4) options.... 0, 0, 0, 1, 0}; mydata.data = 0B; _gfortran_set_options (7, (void ....0); { void * D.567; mydata.dtype = 265; mydata.dim[0].lbound ....dim[0].ubound = 10; mydata.dim[0].stride = 1; [... with a ... memory location is probably in mydata.data. FX just a couple...
Show full article (4.66Kb) · Show article thread
Re: Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: Jugoslav Dujic
Date: Apr 29, 2008 05:08

... extra_mem () | { | struct array1_integer(kind=4) mydata; | static integer(kind=4) options.... 0, 0, 0, 1, 0}; | mydata.data = 0B; | _gfortran_set_options (7, (void ....0); | { | void * D.567; | mydata.dtype = 265; | mydata.dim[0].lbound...dim[0].ubound = 10; | mydata.dim[0].stride = 1; | [... with a...memory location | is probably in mydata.data. "Stride" is the last...
Show full article (2.15Kb) · Show article thread
Re: Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: relaxmike
Date: Apr 29, 2008 04:14

... extra_mem () { struct array1_integer(kind=4) mydata; static integer(kind=4) options....0, 0, 0, 1, 0}; mydata.data = 0B; _gfortran_set_options (7, (void...dim[0].ubound = 10; mydata.dim[0].stride = 1; [... with a...memory location is probably in mydata.data. If we use the...mysub () integer, allocatable, dimension(:) :: mydata allocate ( mydata ( 10 )) end subroutine mysub...
Show full article (2.72Kb) · Show article thread
Re: Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: relaxmike
Date: Apr 29, 2008 02:03

... type, recursive function, etc...). But what would be the size if the derived type would only contain the array, and not the integer : type cell_data integer, allocatable, dimension(:) :: mydata end type cell_data 7 ? Or not, it there is also an additional bookkeeping for the derived type itself ? And what if one computes directly the size of the allocatable ...
Show full article (1.10Kb) · Show article thread
Re: Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: Arjen Markus
Date: Apr 29, 2008 01:23

...:: x,y,z      real, allocatable :: mydata(:) end type type(mytype), allocatable ... 500) then          allocate(cell(i)%%mydata(10))      else          allocate(cell(i)%%...I'm uncertain about how/where mydata is stored.  Perhaps I shouldn'... type cell_data integer, allocatable, dimension(:) :: mydata integer :: some_int end type cell_data ...
Show full article (2.03Kb) · Show article thread
Allocatable arrays in derived types     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: Gib Bogle
Date: Apr 29, 2008 00:57

... :: x,y,z real, allocatable :: mydata(:) end type type(mytype), allocatable :: ... <= 500) then allocate(cell(i)%%mydata(10)) else allocate(cell(i)%%mydata(...I'm uncertain about how/where mydata is stored. Perhaps I shouldn't...how much space is reserved for mydata? I suppose this is compiler-dependent... be a typical number? When mydata is allocated, where is it ...
Show full article (0.92Kb)
Re: Fortran templates     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: James Van Buskirk
Date: Apr 21, 2008 10:00

... minimize the code duplication. But is it possible to declare something like this : module data_mod type MYDATA character(len=20) :: string end type MYDATA implicit type(MYDATA) (Q) include 'test3_template.i90' end module data_mod I don't think so, which shows that the method cannot be ...
Show full article (2.74Kb) · Show article thread
Re: Fortran templates     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: James Van Buskirk
Date: Apr 21, 2008 09:43

...:: current_data_line integer :: myintvalue1 logical :: mylogicalvalue1 type(MYDATA) :: myMYDATAvalue1 integer :: status current_data_line = "1" call ..., status ) write(*, *) "status:", status write(*, *) "MYDATA : ", myMYDATAvalue1 end program test3 C:\gfortran\...: 0 Logical : T status: 0 MYDATA : Hello from James -- write(*,*) transfer((/17....
Show full article (3.05Kb) · Show article thread
Re: Fortran templates     

Group: comp.lang.fortran · Group Profile · Search for Mydata in comp.lang.fortran
Author: nospam
Date: Apr 21, 2008 07:52

... minimize the code duplication. But is it possible to declare something like this : module data_mod type MYDATA character(len=20) :: string end type MYDATA implicit type(MYDATA) (Q) include 'test3_template.i90' end module data_mod I don't think so, which shows that the method cannot be ...
Show full article (1.41Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · 7 · next