Skip to content

Commit efd2288

Browse files
committed
Call init_adjoint_solve
1 parent 3a68e5e commit efd2288

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/solver/src/simulation.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ namespace GRINS
7474

7575
this->init_params(input,sim_builder);
7676

77+
this->init_adjoint_solve(input,_output_adjoint);
78+
7779
// Must be called after setting QoI on the MultiphysicsSystem
7880
_error_estimator = sim_builder.build_error_estimator( input, libMesh::QoISet(*_multiphysics_system) );
7981

@@ -119,6 +121,8 @@ namespace GRINS
119121

120122
this->init_params(input,sim_builder);
121123

124+
this->init_adjoint_solve(input,_output_adjoint);
125+
122126
// Must be called after setting QoI on the MultiphysicsSystem
123127
_error_estimator = sim_builder.build_error_estimator( input, libMesh::QoISet(*_multiphysics_system) );
124128

0 commit comments

Comments
 (0)