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

Overload integrators based on model #26

Open
eparish1 opened this issue Nov 22, 2024 · 0 comments
Open

Overload integrators based on model #26

eparish1 opened this issue Nov 22, 2024 · 0 comments

Comments

@eparish1
Copy link
Collaborator

To support more model types (e.g., ROMs, Heat Conduction, etc.), I think we should overload the time_integrator w/ the model type, e.g.,

function Newmark(params::Dict{Any,Any},model::SolidMechanics)                                                                                
    integrator_params = params["time integrator"]                                                                                            
    initial_time = integrator_params["initial time"]                                                                                         
    ...

Ideally we could pull some of the information (e.g., num dofs) from the model. This change would allow a Newmark integrator to be defined for different model types.

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