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

Force dimensions #20

Open
hverhelst opened this issue Feb 29, 2024 · 0 comments · May be fixed by #21
Open

Force dimensions #20

hverhelst opened this issue Feb 29, 2024 · 0 comments · May be fixed by #21
Assignees

Comments

@hverhelst
Copy link
Member

It would be nice to have more flexibility with the dimensions of the forces defined.
The assembler assembles the surface force always like this

auto m_force = m_assembler.getCoeff(*m_forceFun, m_ori);

This means that m_forceFun should have the same domain dimension as the geometry map m_ori.

It would be nice to make this more flexible. For example, when we have a gsFunctionSet-derived class that computes the composition, we can register m_forceFun using this composition, and keep the rest of the code the same.

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

Successfully merging a pull request may close this issue.

2 participants