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

Fixes #2188 jacobian option #2189

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Fixes #2188 jacobian option #2189

merged 1 commit into from
Apr 12, 2022

Conversation

msevestre
Copy link
Member

No description provided.

@msevestre msevestre requested a review from Yuri05 April 12, 2022 14:45
@@ -24,9 +23,6 @@ public override void RegisterInContainer(IContainer container)
container.Register<IDiagramModelToXmlMapper, CLIDiagramModelToXmlMapper>();
container.Register<IDiagramModel, CLIDiagramModel>();
container.Register<IJournalDiagramManagerFactory, CLIJournalDiagramManagerFactory>();


container.Register(typeof(IInputAndOutputBatchView<>), typeof(InputAndOutputBatchView<>));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed this abstraction. It made life too complicated and we only have one implementation

@@ -3,6 +3,25 @@

namespace PKSim.Core.Services
{
public enum JacobianUse
{
/// <summary>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our 3 options

await simulationEngine.RunAsync(simulation, _simulationRunOptions);
simulation.HasChanged = true;
}

private void updateSolverSettings<TSimulation>(TSimulation simulation) where TSimulation : Simulation
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it goes deep into the simulation runner., Default is AsIs and it should not change anything

@msevestre msevestre merged commit 2727139 into develop Apr 12, 2022
@msevestre msevestre deleted the 2188-jacobian-option branch April 12, 2022 16:49
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 this pull request may close these issues.

2 participants