Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove intrinsics from allocate statements #803

Copy link
Copy link
@sbryngelson

Description

@sbryngelson
Issue body actions

Right now, we have intrinsics in allocate statements like this:

@:ALLOCATE(q_cons_buff_send(0:-1 + buff_size*(sys_size + 2*nb*4)* &
                                             & (max(m, n) + 2*buff_size + 1)))

and

@:ALLOCATE(Res(1:2, 1:maxval(Re_size)))

where we have max and maxval.
The relevant quantities should be stored in variables, probably just in m_global_parameters (they can't go in m_constants because they are only known at runtime).

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.