• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NREL / SolTrace / 18889752882

28 Oct 2025 09:28PM UTC coverage: 89.87% (-0.08%) from 89.946%
18889752882

Pull #76

github

web-flow
Merge e6c58895d into f6f121007
Pull Request #76: Fix NativeRunner ray tracing failure for parabola surface

944 of 994 new or added lines in 28 files covered. (94.97%)

2 existing lines in 1 file now uncovered.

4418 of 4916 relevant lines covered (89.87%)

10138914.15 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/coretrace/simulation_data/optical_properties.cpp
1

2
// #include <exception>
3
// #include <sstream>
4

5
#include "optical_properties.hpp"
6

7
namespace SolTrace::Data
8
{
9

NEW
10
const std::string interaction_string(InteractionType it)
×
11
{
NEW
12
    if (it == InteractionType::REFLECTION)
×
13
    {
NEW
14
        return "Reflection";
×
15
    }
NEW
16
    else if(it == InteractionType::REFRACTION)
×
17
    {
NEW
18
        return "Refraction";
×
19
    }
20
    else
21
    {
NEW
22
        return "Unknown";
×
23
    }
24
}
25

NEW
26
std::ostream &operator<<(std::ostream &os,
×
27
    const OpticalProperties &op)
28
{
NEW
29
    os << "Type: " << interaction_string(op.my_type)
×
NEW
30
    << "\nTransmitivity: " << op.transmitivity
×
NEW
31
    << "\nReflectivity: " << op.reflectivity
×
NEW
32
    << "\nSlope Error: " << op.slope_error
×
NEW
33
    << "\nSpecularity Error: " << op.specularity_error
×
NEW
34
    << "\nRefraction Index Front: " << op.refraction_index_front
×
NEW
35
    << "\nRefraction Index Back: " << op.refraction_index_back;
×
NEW
36
    return os;
×
37
}
38

39
} // namespace SolTrace::Data
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc