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

Non constant Mass Matrix #32

Open
ivolkg opened this issue Jul 12, 2021 · 1 comment
Open

Non constant Mass Matrix #32

ivolkg opened this issue Jul 12, 2021 · 1 comment

Comments

@ivolkg
Copy link

ivolkg commented Jul 12, 2021

So i have a set of 10 differential equations in which the mass matrix depends on the solution vector, before trying to attempt creating a class that inherit a mass_matrix kind of like and observer.
I wanted to ask is this possible? since I don't see mass being iterated in Solver

@ikorotkin
Copy link
Collaborator

ikorotkin commented Jul 13, 2021

The mass matrix is static in this implementation of the Solver and does not depend on the solution vector and time.
You can define any mass matrix inheriting daecpp::MassMatrix class but it should be constant.

In the updated version of the solver, the mass matrix can depend on time but not on the solution vector.
I'm not planning to add the solution vector dependence yet... But I'll keep this issue open for the user's feedback and discussion.

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

2 participants