![]()  | 
  
    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::TrapezoidQuadrature.
| result | ElmerFoamFSI::TestResults object to store test results. | 
This function implements a simple test of the function ElmerFoamFSI::TrapezoidQuadrature - which is designed to integrate a function, f, over an n-way partitioned 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 195 of file ElmerFoamFSITest.H.
References ElmerFoamFSI::TestFixture::F1(), ElmerFoamFSI::TestFixture::F2(), TestingObject< ResultsType >::N, and ElmerFoamFSI::TrapezoidQuadrature().
Referenced by TestingObject< ResultsType >::Process(), and TestingObject< ResultsType >::RunTest().