Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single element assemble + override default assemble operation #43

Open
ahojukka5 opened this issue Oct 15, 2018 · 0 comments
Open

Single element assemble + override default assemble operation #43

ahojukka5 opened this issue Oct 15, 2018 · 0 comments

Comments

@ahojukka5
Copy link
Member

ahojukka5 commented Oct 15, 2018

So, if we introduce "local buffer", containing workspace/memory for assembling one element without any additional memory allocations, we could go back to assemble one element at a time.

It would be cool if we can make dispatching work so that we can override or extend assembling of a single element if we have some special case we need to take care of. Would it work if we have something like:

function assemble_stiffness_matrix!(problem, assembly, other_stuff, Val{:E1})
    # my special assembly procedure
end

where :E1 is the name of the element.

We also should construct everything such that we can assemble mass matrix, stiffness matrix, force vector and so on separately or all together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant