Fix single precision build of GS2

Declined
#46 · Created  · Last updated

Declined pull request

Declined in favour of gs2 PR 288 (https://bitbucket.org/gyrokinetics/gs2/pull-requests/288), which achieves the same end by removing the need to introduce this PR's extra subroutine.

Closed by: ·2020-04-03

Description

Add a broadcast for double precision. This allows GS2 to compile when single precision is used (DBLE= undefined).

At present, the precision used by GS2 depends on the DBLE variable. However, the coupling to other codes, like gryfx, requires some variables to be doubles always, even when the rest of GS2 is in single precision. This PR provides a double precision broadcast for these variables that is only included when compiling in single precision.

 

[Should this be a bugix to master?]

0 attachments

0 comments

Loading commits...