Results 1 to 7 of 7

Thread: Problem with 4+ dimension allocatable arrays and optimized code

  1. #1
    Join Date
    Apr 2010
    Posts
    182

    Problem with 4+ dimension allocatable arrays and optimized code

    In customary FORTRAN 77, the sizes of the entire objects are obliged to be recognized at accumulate time (This does not be appropriate to the sizes of formal arguments to subprograms, merely to those of the authentic arguments). This is not convenient for numerous submission, as it means that the program might have encompassed to be recompiled previous to it be able to be run by means of a dissimilar tribulations size. Several operating environments let the user distribute contiguous blocks of memory whose sizes are resolute at run time. Numerous implementations of FORTRAN 77 hold up and maintain an extension ("Cray pointers") that permits programs to create utilize of this facility.

  2. #2
    Join Date
    Apr 2009
    Posts
    569

    Re: Problem with 4+ dimension allocatable arrays and optimized code

    The FORTRAN is tranquil the numeral one language for computationally concentrated submissions. This is almost certainly why you preferred FORTRAN in the first place. The innovative customary upholds this tradition of being the language of choice for scientific and engineering submissions. Modern language characteristics originate in Fortran 90 assist you write tighter and faster code at the same time as you keep away from the costs of learning and rewriting your running programs in an additional language. The portability of FORTRAN code facilitates you to shift your applications to a variety of platforms.

  3. #3
    Join Date
    May 2009
    Posts
    529

    Re: Problem with 4+ dimension allocatable arrays and optimized code

    You be able to group your data using resultant types. This facilitates users to come together intrinsic types (containing arrays and pointers) into innovative types whose personality components be able to be have right of entry using the percent sign as a delimiter. (Derived types are recognized as records in VAX Fortran.) Pointers permit a program to refer to additional than one data area by means of one name. For anybody familiar by means of C pointers, Fortran 90 pointers are much additional restrictive, and consequently less probable to be buggy and easier for a compiler to optimize. Data objects by means of the pointer characteristic are capable to have their associated storage distributed and deallocated, facilitating dynamic memory utilize. Pointers be able to be associated by means of additional pointers and by means of additional objects, facilitating modern data structures such as lists and trees.

  4. #4
    Join Date
    May 2009
    Posts
    637

    Re: Problem with 4+ dimension allocatable arrays and optimized code

    Data objects might have encompassed combinations of 12 dissimilar characteristics, such as pointer, save, etc. Fortran 90 commences an "entity-oriented" affirmation, in which objects by means of the similar characteristic combinations are able to be declared by means of the entire their characteristics in one statement. Array and consequent type data objects are able to together be initialized in the affirmation statement. A constructor is able to in addition be used as a constant where an array or derived type is expected.

  5. #5
    Join Date
    May 2008
    Posts
    2,134

    Re: Problem with 4+ dimension allocatable arrays and optimized code

    The FORTRAN 77 programs were frequently premeditated by means of a flow chart mentality. This type of design lead obviously into code composed of a lot of testing and branching_programs were hard to augment, had a lot of bugs, and had extremely diminutive reusability. Modern program intend methods involve decomposing a larger tribulations into smaller problems until the explanations are trivial. The innovative Fortran 90 Standard control constructs create it easier to implement modern software designs.

  6. #6
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Problem with 4+ dimension allocatable arrays and optimized code

    The Modules are fundamentally places to put things for shared utilize. This innovative variety of program unit is able to contain data, course of action, derived type definitions, and interface blocks (and even general blocks), the entire of which are purchased into a scoping unit by a USE statement. A module is capable to even be used to hide procedure code from customers. The similar module be able to be used in numerous programs.

  7. #7
    Join Date
    Jun 2006
    Posts
    623

    Re: Problem with 4+ dimension allocatable arrays and optimized code

    The Internal procedures create it easier to systematize code that is merely used in one place and diminish the numeral of exterior routines that necessitate to be recognized by the programmer. Program units and component procedures be able to contain their own interior subroutines and functions. The interfaces of these internal procedures are recognized throughout the containing program unit.

Similar Threads

  1. Graphics Problem with DELL Dimension XPS Gen 4
    By PWallace in forum Operating Systems
    Replies: 3
    Last Post: 04-12-2010, 01:55 PM
  2. Audio problem on Dimension 4500
    By Tamohar in forum Portable Devices
    Replies: 6
    Last Post: 30-09-2010, 06:37 AM
  3. multi dimension arrays
    By money in forum Software Development
    Replies: 2
    Last Post: 13-03-2009, 08:00 AM
  4. Problem printing like integers in C# ARRAYS
    By Lambard in forum Software Development
    Replies: 4
    Last Post: 26-01-2009, 04:55 PM
  5. Problem with arrays in C++
    By fellah in forum Software Development
    Replies: 3
    Last Post: 05-09-2008, 04:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,707,388.78318 seconds with 17 queries