Journals
Publish with us
Publishing partnerships
About us
Blog
Scientific Programming
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Scientific Programming
/
2015
/
Article
/
Lst 10
/
Research Article
High-Performance Design Patterns for Modern Fortran
Listing 10
subroutine
assign_local_to_global(lhs, rhs)
class
(tensor),
intent(inout)
:: lhs
class
(local_tensor),
intent(in)
:: rhs
lhs%global_f(:) = rhs%state()
sync all
end subroutine