ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
resistor1d-c.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "../../libviennashe/include/libviennashe.h"

Go to the source code of this file.

Macros

#define FALSE   libviennashe_false
 
#define TRUE   libviennashe_true
 
#define POINTSX   51
 

Functions

void print_quan_info (viennashe_quan_register reg)
 Prints the names of the available quantities in a register
More...
 
void print_potential (viennashe_device dev, viennashe_quan_register reg)
 Prints the electrostatic potential profile to stdout
More...
 
int main ()
 

Macro Definition Documentation

◆ FALSE

#define FALSE   libviennashe_false
Examples
resistor1d-c.c.

Definition at line 24 of file resistor1d-c.c.

◆ POINTSX

#define POINTSX   51
Examples
resistor1d-c.c.

Definition at line 28 of file resistor1d-c.c.

◆ TRUE

#define TRUE   libviennashe_true

Definition at line 25 of file resistor1d-c.c.

Function Documentation

◆ main()

int main ( )
Examples
resistor1d-c.c.

Definition at line 108 of file resistor1d-c.c.

◆ print_potential()

void print_potential ( viennashe_device  dev,
viennashe_quan_register  reg 
)

Prints the electrostatic potential profile to stdout

Examples
resistor1d-c.c.

Definition at line 60 of file resistor1d-c.c.

◆ print_quan_info()

void print_quan_info ( viennashe_quan_register  reg)

Prints the names of the available quantities in a register

Examples
resistor1d-c.c.

Definition at line 31 of file resistor1d-c.c.