From a2a4054a37ae287119b4da0505538e8824873b78 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 25 Dec 2022 16:36:01 +0100 Subject: [PATCH] give explanation of unexpected code --- src/material.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material.f90 b/src/material.f90 index ceb67a177..d1d9ca43e 100644 --- a/src/material.f90 +++ b/src/material.f90 @@ -134,7 +134,7 @@ subroutine parse() allocate(ph_of(materials%length,homogenization_maxNconstituents),source=-1) allocate( v_of(materials%length,homogenization_maxNconstituents),source=0.0_pReal) - ! parse YAML structure + ! Parse YAML structure. Manual loop over linked list to have O(n) instead of O(n^2) complexity item => materials%first do ma = 1, materials%length material => item%node%asDict()