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

The width (and gap) that meets one target on one layer. More...

#include <crules/impedance_rules.hpp>

Public Attributes

std::string layer
std::string ref
 "F.Cu", "In1.Cu (zone GND)"
imp::Structure structure = imp::Structure::Microstrip
bool differential = false
double target = 0
 ohm
bool ok = false
std::string why
 when !ok
Coord width = 0
Coord gap = 0
 gap: pair gap (differential) or coplanar ground gap (GCPW); 0 otherwise
double z = 0
 achieved impedance at the integer-nm solution
double eps_eff = 0
double ps_per_mm = 0
 differential: odd mode
double error_pct = 0
 stated formula error
Coord h = 0
Coord h2 = 0
 dielectric to the reference (stripline: above, below)
double er = 0
std::string note
 e.g. "gap raised: width at the board minimum"

Detailed Description

The width (and gap) that meets one target on one layer.

Definition at line 41 of file impedance_rules.hpp.

Member Data Documentation

◆ differential

bool tmk::crules::LineSolution::differential = false

Definition at line 44 of file impedance_rules.hpp.

◆ eps_eff

double tmk::crules::LineSolution::eps_eff = 0

Definition at line 50 of file impedance_rules.hpp.

◆ er

double tmk::crules::LineSolution::er = 0

Definition at line 53 of file impedance_rules.hpp.

◆ error_pct

double tmk::crules::LineSolution::error_pct = 0

stated formula error

Definition at line 51 of file impedance_rules.hpp.

◆ gap

Coord tmk::crules::LineSolution::gap = 0

gap: pair gap (differential) or coplanar ground gap (GCPW); 0 otherwise

Definition at line 48 of file impedance_rules.hpp.

◆ h

Coord tmk::crules::LineSolution::h = 0

Definition at line 52 of file impedance_rules.hpp.

◆ h2

Coord tmk::crules::LineSolution::h2 = 0

dielectric to the reference (stripline: above, below)

Definition at line 52 of file impedance_rules.hpp.

◆ layer

std::string tmk::crules::LineSolution::layer

Definition at line 42 of file impedance_rules.hpp.

◆ note

std::string tmk::crules::LineSolution::note

e.g. "gap raised: width at the board minimum"

Definition at line 54 of file impedance_rules.hpp.

◆ ok

bool tmk::crules::LineSolution::ok = false

Definition at line 46 of file impedance_rules.hpp.

◆ ps_per_mm

double tmk::crules::LineSolution::ps_per_mm = 0

differential: odd mode

Definition at line 50 of file impedance_rules.hpp.

◆ ref

std::string tmk::crules::LineSolution::ref

"F.Cu", "In1.Cu (zone GND)"

Definition at line 42 of file impedance_rules.hpp.

◆ structure

imp::Structure tmk::crules::LineSolution::structure = imp::Structure::Microstrip

Definition at line 43 of file impedance_rules.hpp.

◆ target

double tmk::crules::LineSolution::target = 0

ohm

Definition at line 45 of file impedance_rules.hpp.

◆ why

std::string tmk::crules::LineSolution::why

when !ok

Definition at line 47 of file impedance_rules.hpp.

◆ width

Coord tmk::crules::LineSolution::width = 0

Definition at line 48 of file impedance_rules.hpp.

◆ z

double tmk::crules::LineSolution::z = 0

achieved impedance at the integer-nm solution

Definition at line 49 of file impedance_rules.hpp.


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