|
TraceMaker
C++ API of the engine
|
#include <model/stackup.hpp>
Public Member Functions | |
| bool | is_copper () const |
| bool | is_mask () const |
| "Top Solder Mask" / "Bottom Solder Mask" | |
Public Attributes | |
| std::string | name |
| "F.Cu", "dielectric 1", "F.Mask", ... | |
| std::string | type |
| "copper", "core", "prepreg", "Top Solder Mask", ... as written | |
| std::string | material |
| first sublayer's material ("FR4"), empty if not given | |
| Coord | thickness = 0 |
| nm; a dielectric with sublayers (addsublayer) sums them | |
| double | epsilon_r = 0 |
| Relative permittivity; 0 = not given. | |
| double | loss_tangent = 0 |
| thickness-weighted mean over sublayers; 0 = not given | |
| int | sublayers = 1 |
| bool | epsilon_complete = false |
| every sublayer gave epsilon_r | |
| int | copper_index = -1 |
| stack index for copper layers, -1 otherwise | |
Definition at line 13 of file stackup.hpp.
|
inline |
Definition at line 26 of file stackup.hpp.
| bool tmk::model::StackupLayer::is_mask | ( | ) | const |
"Top Solder Mask" / "Bottom Solder Mask"
| int tmk::model::StackupLayer::copper_index = -1 |
stack index for copper layers, -1 otherwise
Definition at line 24 of file stackup.hpp.
| bool tmk::model::StackupLayer::epsilon_complete = false |
every sublayer gave epsilon_r
Definition at line 23 of file stackup.hpp.
| double tmk::model::StackupLayer::epsilon_r = 0 |
Relative permittivity; 0 = not given.
Sublayers combine as parallel-plate capacitors in series: er = sum(h) / sum(h / er_i) (exact for a field normal to the layers).
Definition at line 20 of file stackup.hpp.
| double tmk::model::StackupLayer::loss_tangent = 0 |
thickness-weighted mean over sublayers; 0 = not given
Definition at line 21 of file stackup.hpp.
| std::string tmk::model::StackupLayer::material |
first sublayer's material ("FR4"), empty if not given
Definition at line 16 of file stackup.hpp.
| std::string tmk::model::StackupLayer::name |
"F.Cu", "dielectric 1", "F.Mask", ...
Definition at line 14 of file stackup.hpp.
| int tmk::model::StackupLayer::sublayers = 1 |
Definition at line 22 of file stackup.hpp.
| Coord tmk::model::StackupLayer::thickness = 0 |
nm; a dielectric with sublayers (addsublayer) sums them
Definition at line 17 of file stackup.hpp.
| std::string tmk::model::StackupLayer::type |
"copper", "core", "prepreg", "Top Solder Mask", ... as written
Definition at line 15 of file stackup.hpp.