[openAD] #209: assumed-size arrays
#209: assumed-size arrays ---------------------------------+------------------------------------------ Reporter: utke | Owner: utke Type: task | Status: new Priority: minor | Milestone: Component: multiple components | Keywords: ---------------------------------+------------------------------------------ An assumed-size array (F77 idiom) is a dummy argument that has a '*' in the dimension specification. The dummy argument will assume the size (but not necessarily the shape or extent) of the actual argument. No lbound/ubound/size info can be extracted from the assumed-size array dimension. Consequently it is impossible to create any temporaries for such arrays. HOWEVER, for many practical uses the actual size of the array will still be known at call time, because it is passed in another dummy argument. In that case the suggested workaround is to replace the "*" in the dimension with the dummy argument that contains the size (or a permitted expression thereof) The alternative in current Fortran are assumed-shape arrays. They do require an interface and consequently matching shape. -- Ticket URL: <http://trac.mcs.anl.gov/projects/openAD/ticket/209> OpenAD <http://www.mcs.anl.gov/openad> Bug tracking for OpenAD components
#209: assumed-size arrays ---------------------------------+------------------------------------------ Reporter: utke | Owner: utke Type: task | Status: accepted Priority: minor | Milestone: Component: multiple components | Keywords: ---------------------------------+------------------------------------------ Changes (by utke): * status: new => accepted -- Ticket URL: <https://trac.mcs.anl.gov/projects/openAD/ticket/209#comment:1> OpenAD <http://www.mcs.anl.gov/openad> Bug tracking for OpenAD components
participants (1)
-
OpenAD