numerics
Loading...
Searching...
No Matches
physics::ElectrodeBC Struct Reference

A grid node with a fixed voltage (Dirichlet BC for current flow). More...

#include <field.hpp>

Public Attributes

int flat_idx
 Flat grid index: k*ny*nx + j*nx + i.
 
float voltage
 Applied voltage [V].
 

Detailed Description

A grid node with a fixed voltage (Dirichlet BC for current flow).

Definition at line 26 of file field.hpp.

Member Data Documentation

◆ flat_idx

int physics::ElectrodeBC::flat_idx

Flat grid index: k*ny*nx + j*nx + i.

Definition at line 27 of file field.hpp.

◆ voltage

float physics::ElectrodeBC::voltage

Applied voltage [V].

Definition at line 28 of file field.hpp.


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