{"action":"opened","issue":{"url":"https://api.github.com/repos/KristofferC/JuAFEM.jl/issues/236","repository_url":"https://api.github.com/repos/KristofferC/JuAFEM.jl","labels_url":"https://api.github.com/repos/KristofferC/JuAFEM.jl/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/KristofferC/JuAFEM.jl/issues/236/comments","events_url":"https://api.github.com/repos/KristofferC/JuAFEM.jl/issues/236/events","html_url":"https://github.com/KristofferC/JuAFEM.jl/issues/236","id":365128407,"node_id":"MDU6SXNzdWUzNjUxMjg0MDc=","number":236,"title":"A preliminary question about calling functions of JuAFEM ","user":{"login":"yoczhang","id":12275879,"node_id":"MDQ6VXNlcjEyMjc1ODc5","avatar_url":"https://avatars0.githubusercontent.com/u/12275879?v=4","gravatar_id":"","url":"https://api.github.com/users/yoczhang","html_url":"https://github.com/yoczhang","followers_url":"https://api.github.com/users/yoczhang/followers","following_url":"https://api.github.com/users/yoczhang/following{/other_user}","gists_url":"https://api.github.com/users/yoczhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yoczhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoczhang/subscriptions","organizations_url":"https://api.github.com/users/yoczhang/orgs","repos_url":"https://api.github.com/users/yoczhang/repos","events_url":"https://api.github.com/users/yoczhang/events{/privacy}","received_events_url":"https://api.github.com/users/yoczhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-29T12:33:07Z","updated_at":"2018-09-29T12:33:07Z","closed_at":null,"author_association":"NONE","body":"Hi everyone,\r\n\r\nI am a new learner of Julia and JuAFEM. I want to ask a preliminary question about calling the JuAFEM functions: In the Julia-REPL, I run some functions like that\r\n```julia-repl\r\njulia> using JuAFEM, SparseArrays\r\n\r\njulia> grid = generate_grid(Quadrilateral, (20, 20));\r\n\r\njulia> dim = 2;\r\n\r\njulia> ip = Lagrange{dim, RefCube, 1}();\r\n```\r\nI want to check the functions in *interpolations.jl*, first I run the *getnbasefunctions()* function successfully\r\n```julia-repl\r\njulia> getnbasefunctions(ip)\r\n4\r\n```\r\nbut the *nvertexdofs()* function  failed\r\n```julia-repl\r\njulia> nvertexdofs(ip)\r\nERROR: UndefVarError: nvertexdofs not defined\r\nStacktrace:\r\n [1] top-level scope at none:0\r\n```\r\n\r\nI don't know why, they are in the same file *interpolations.jl*.\r\n\r\nAlso I failed to call such as *getdim()*, *getrefshape()* functions.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"yoczhang"}}