Ignore:
Timestamp:
11/23/21 12:28:22 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: getting to Jacobian Determinant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/jl/solve/vertices.jl

    r26629 r26659  
    44        x::Float64
    55        y::Float64
     6        z::Float64
    67end# }}}
     8
     9#vertices functions
     10function GetVerticesCoordinates(vertices::Vector{Vertex}) #{{{
     11
     12        #Intermediaries
     13        nbv = length(vertices)
     14
     15        #Allocate
     16        xyz_list = Matrix{Float64}(undef,nbv,3)
     17
     18        #Assign value to xyz_list
     19        for i in 1:nbv
     20                xyz_list[i,1]=vertices[i].x
     21                xyz_list[i,2]=vertices[i].y
     22                xyz_list[i,3]=vertices[i].z
     23        end
     24
     25        return xyz_list
     26end #}}}
Note: See TracChangeset for help on using the changeset viewer.