HP-HEM  1.0.2
High Performance implementation of the Hybrid Electromagnetic Model
Data Fields
Grid Struct Reference

#include <grid.h>

Data Fields

unsigned int vertices_x
 
unsigned int vertices_y
 
double length_x
 
double length_y
 
unsigned int edge_segments_x
 
unsigned int edge_segments_y
 
double radius
 
double depth
 

Detailed Description

Strutcture to represent an uniform rectangular grid to be used in specialized routines. This grid has dimensions \( L_x \, L_y \), a total of (before segmentation) \( nv = (v_x \, v_y) \) vertices and \( ne = v_y\, (v_x - 1) + v_x\, (v_y - 1) \) edges. Each edge is divided into \( N \) segments so that the total number of nodes after segmentation is \( n = v_x\,v_y + v_x\,(v_y - 1)(N_y - 1) + v_y\,(v_x - 1)(N_x - 1) \) and the total number of segments is \( m = N_x\,v_x\,(v_y - 1) + N_y\,v_y\,(v_x - 1) \)

     1          vx
 -  o---o---o---o 1
 |  |   |   |   |
Ly  o---o---o---o
 |  |   |   |   |
 -  o---o---o---o vy
    |---- Lx ---| 

Definition at line 35 of file grid.h.

Field Documentation

◆ depth

double Grid::depth

Grid coordinate in the \(\vec z\) direction (the same for all segments)

Definition at line 51 of file grid.h.

◆ edge_segments_x

unsigned int Grid::edge_segments_x

number of segments \(N_x\) that each edge has in the \(\vec x\) direction

Definition at line 45 of file grid.h.

◆ edge_segments_y

unsigned int Grid::edge_segments_y

number of segments \(N_y\) that each edge has in the \(\vec y\) direction

Definition at line 47 of file grid.h.

◆ length_x

double Grid::length_x

total grid length \(L_x\) in the \(\vec x\) direction;

Definition at line 41 of file grid.h.

◆ length_y

double Grid::length_y

total grid length \(L_y\) in the \(\vec y\) direction;

Definition at line 43 of file grid.h.

◆ radius

double Grid::radius

Grid conductors' radius (the same for all segments)

Definition at line 49 of file grid.h.

◆ vertices_x

unsigned int Grid::vertices_x

number of vertices \(v_x\) in the \(\vec x\) direction

Definition at line 37 of file grid.h.

◆ vertices_y

unsigned int Grid::vertices_y

number of vertices \(v_y\) in the \(\vec y\) direction

Definition at line 39 of file grid.h.


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