TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::model::StackupLayer Struct Reference

#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

Detailed Description

Definition at line 13 of file stackup.hpp.

Member Function Documentation

◆ is_copper()

bool tmk::model::StackupLayer::is_copper ( ) const
inline

Definition at line 26 of file stackup.hpp.

◆ is_mask()

bool tmk::model::StackupLayer::is_mask ( ) const

"Top Solder Mask" / "Bottom Solder Mask"

Member Data Documentation

◆ copper_index

int tmk::model::StackupLayer::copper_index = -1

stack index for copper layers, -1 otherwise

Definition at line 24 of file stackup.hpp.

◆ epsilon_complete

bool tmk::model::StackupLayer::epsilon_complete = false

every sublayer gave epsilon_r

Definition at line 23 of file stackup.hpp.

◆ epsilon_r

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.

◆ loss_tangent

double tmk::model::StackupLayer::loss_tangent = 0

thickness-weighted mean over sublayers; 0 = not given

Definition at line 21 of file stackup.hpp.

◆ material

std::string tmk::model::StackupLayer::material

first sublayer's material ("FR4"), empty if not given

Definition at line 16 of file stackup.hpp.

◆ name

std::string tmk::model::StackupLayer::name

"F.Cu", "dielectric 1", "F.Mask", ...

Definition at line 14 of file stackup.hpp.

◆ sublayers

int tmk::model::StackupLayer::sublayers = 1

Definition at line 22 of file stackup.hpp.

◆ thickness

Coord tmk::model::StackupLayer::thickness = 0

nm; a dielectric with sublayers (addsublayer) sums them

Definition at line 17 of file stackup.hpp.

◆ type

std::string tmk::model::StackupLayer::type

"copper", "core", "prepreg", "Top Solder Mask", ... as written

Definition at line 15 of file stackup.hpp.


The documentation for this struct was generated from the following file: