Skip to content
Snippets Groups Projects
Commit 292d2741 authored by Kyle Klenk's avatar Kyle Klenk
Browse files

Passed the laugh tests with summa v3

parent be4454b0
No related branches found
No related tags found
1 merge request!9Integrating Restart and V4 changes
......@@ -37,11 +37,10 @@ behavior file_access_actor(stateful_actor<file_access_state>* self,
aout(self) << "File Access Actor: Intializing\n";
auto& fa_settings = self->state.file_access_actor_settings;
int num_hru = self->state.num_gru;
int err = 0;
self->state.summa_init_struc = std::make_unique<SummaInitStruc>();
err = self->state.summa_init_struc->allocate(self->state.num_gru);
int err = self->state.summa_init_struc->allocate(self->state.num_gru);
if (err != 0) aout(self) << "ERROR: SummaInitStruc allocation failed\n";
err = self->state.summa_init_struc->summa_paramSetup();
if (err != 0) aout(self) << "ERROR: SummaInitStruc paramSetup failed\n";
......
......@@ -191,4 +191,5 @@ subroutine deallocate_init_struc() bind(C, name="deallocate_init_struc")
implicit none
deallocate(init_struc)
end subroutine deallocate_init_struc
end module summa_init_struc
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment