![]()  | 
  
    ElmerFoamFSI
    2.0
    
   ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure. 
   | 
 
      
  | 
  inlinevirtual | 
Test for ElmerFoamFSI::MidPointQuadrature.
| result | ElmerFoamFSI::TestResults object to store test results. | 
This function implements a simple test of the function ElmerFoamFSI::MidPointQuadrature - which is designed to integrate a function, f, over an interval 
.
The test first makes sure that the method integrates a linear function exactly, and then that the error term has the proper dependence on the spacings.
Definition at line 247 of file ElmerFoamFSITest.H.
References ElmerFoamFSI::TestFixture::F1(), ElmerFoamFSI::TestFixture::F2(), ElmerFoamFSI::MidPointQuadrature(), and TestingObject< ResultsType >::N.
Referenced by TestingObject< ResultsType >::Process(), and TestingObject< ResultsType >::RunTest().