Hi!, I have quite a long code for finite element analysis in Julia,, when I 
come to the point of assembling the stiffness matrix (which is a loop 
"for", for each element), I get the following error:

" please submit a bug report with steps to reproduce this fault..... 
Exception: EXCEPTION_ACCESS_VIOLATION at @x1ooob75 -- hvcat at 
abstractarray.jl 1017  .... "

,,. something like that. The part of the code where it happens, looks like 
this:

#Assemblege of initial Kglob
for e=1:size(Imatrix,1) #for each element
   
 # here I compute the element stiffness matrix Kglobel
 
    #Assemble
    for j=1:12 
        dof1=Imatrix[e,j];
        s1=posdof(Adof,dof1);
        if s1!=0 
            for k=1:12 
                dof2=Imatrix[e,k];
                s2=posdof(Adof,dof2);
                if s2!=0
                    Kglobst[s1,s2]=Kglobst[s1,s2]+Kglobel[j,k];
                end
            end
        end
    end
end

It´s strange because the error appears at different points, and in a few 
cases no error appeared, and it was able to finish the loop. 

Thanks
Alex

Reply via email to