Is there performance advantage of using intent(in) and intent(out)?

In a previous thread @ivanpribec said

In the past I’ve added the pure specifier and intent attributes to a multiphase fluid simulation code (AMR-LBM-OpenMP-2D ), and remember seeing a 20-25 % performance increase (I did perform some minor restructuring, but in no way did I modify the algorithm).

1 Like