Skip to content

Commit

Permalink
TEST: add new wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
CusiniM committed Jan 10, 2025
1 parent 52c8c49 commit 8b4b044
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ FlowSolverBase::FlowSolverBase( string const & name,
setApplyDefaultValue( 0.1 ).
setDescription( "Maximum (absolute) temperature change in a sequential iteration, used for outer loop convergence check" );

this->registerWrapper( "testingTheLogs", m_testLog ).
setSizedFromParent( 0 ).
setApplyDefaultValue( "Testing" ).
setInputFlag( InputFlags::OPTIONAL ).
setDescription( "Testing logs parsing and diff filtering." );

// allow the user to select a norm
getNonlinearSolverParameters().getWrapper< physicsSolverBaseKernels::NormType >( NonlinearSolverParameters::viewKeysStruct::normTypeString() ).setInputFlag( InputFlags::OPTIONAL );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ class FlowSolverBase : public PhysicsSolverBase
real64 m_sequentialTempChange;
real64 m_maxSequentialTempChange;

// MATTEO: testing logs parsing
string m_testLog;

/**
* @brief Class used for displaying boundary warning message
*/
Expand Down

0 comments on commit 8b4b044

Please sign in to comment.