31
32
33! deallocation of
the different arrays of inv_group structure
34
35
36
37
38
39
40
42
43
44
45#include "implicit_f.inc"
46
47
48
49 TYPE(INVERTGROUP_STRUCT_) :: INV_GROUP
50
51
52
53
54
55 IF(inv_group%ALREADY_ALLOC) THEN
56
57 DEALLOCATE( inv_group%INDPARTS )
58 DEALLOCATE( inv_group%INDPARTQ )
59 DEALLOCATE( inv_group%INDPARTC )
60 DEALLOCATE( inv_group%INDPARTT )
61 DEALLOCATE( inv_group%INDPARTP )
62 DEALLOCATE( inv_group%INDPARTTG )
63 DEALLOCATE( inv_group%INDPARTTRIA )
64 DEALLOCATE( inv_group%INDPARTR )
65 DEALLOCATE( inv_group%INDPARTSPH )
66
67 DEALLOCATE( inv_group%PARTS )
68 DEALLOCATE( inv_group%PARTQ )
69 DEALLOCATE( inv_group%PARTT )
70 DEALLOCATE( inv_group%PARTP )
71 DEALLOCATE( inv_group%PARTTG )
72 DEALLOCATE( inv_group%PARTTRIA )
73 DEALLOCATE( inv_group%PARTR )
74 DEALLOCATE( inv_group%PARTSPH )
75 ENDIF
76
77
78 RETURN
end diagonal values have been computed in the(sparse) matrix id.SOL