GCC Code Coverage Report


Directory: ./
File: FiniteElement/listCurrentFiniteElementWithBd.cpp
Date: 2024-04-14 07:32:34
Exec Total Coverage
Lines: 4 8 50.0%
Branches: 1 4 25.0%

Line Branch Exec Source
1 // ______ ______ _ _ _____ ______
2 // | ____| ____| | (_)/ ____| | ____|
3 // | |__ | |__ | | _| (___ ___| |__
4 // | __| | __| | | | |\___ \ / __| __|
5 // | | | |____| |____| |____) | (__| |____
6 // |_| |______|______|_|_____/ \___|______|
7 // Finite Elements for Life Sciences and Engineering
8 //
9 // License: LGL2.1 License
10 // FELiScE default license: LICENSE in root folder
11 //
12 // Main authors: J. Foulon
13 //
14
15 // System includes
16
17 // External includes
18
19 // Project includes
20 #include "FiniteElement/listCurrentFiniteElementWithBd.hpp"
21
22 namespace felisce
23 {
24 9968 void ListCurrentFiniteElementWithBd::add(CurrentFiniteElementWithBd* fewbd) {
25
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 9968 times.
9968 FEL_ASSERT(fewbd);
26 9968 m_listCurrentFiniteElementWithBd.push_back(fewbd);
27 9968 }
28
29 /***********************************************************************************/
30 /***********************************************************************************/
31
32 //! Print function
33 void ListCurrentFiniteElementWithBd::print(int verbose,std::ostream& c) const {
34 IGNORE_UNUSED_ARGUMENT(verbose);
35 c << "List of Finite Element WithBd: " << std::endl;
36 for ( unsigned int iFe = 0; iFe < m_listCurrentFiniteElementWithBd.size(); iFe++)
37 //m_listCurrentFiniteElement[iFe]->print(); //! /todo create print function for current finite element
38 c << std::endl;
39 }
40 }
41