# ELEC input file sectionÂ¶

The ELEC block of an APBS input file is used for polar solvation (electrostatics) calculations and has the following syntax:

```
ELEC [ name {id} ]
{type}
{keywords...}
END
```

The optional `id`

variable is a simple string that allows ELEC statements to be named.
Since numerous ELEC blocks may appear in an APBS input file, it can be difficult to keep track of them all.
It is possible to assign an optional name (string) to each ELEC block to simplify the organizational process.

The `type`

command defines the types of ELEC calculation to be performed and includes:

- Finite difference multigrid calculations with PMG.
- Geometric flow solvation finite difference calculations
- Boundary element method calculations with TABI-PB.
- Analytic and semi-analytic Poisson-Boltzmann approximations
- Finite element calculations with FEtk.
- No-op modes for generating coefficient maps

Finally, the `keywords`

are calculation-specific commands that customize the particular type of calculation.
This section is the main component for polar solvation calculations in APBS runs.
There may be several ELEC sections, operating on different molecules or using different parameters for multiple runs on the same molecule.
The order of the ELEC statement can matter since certain types of boundary conditions (bcfl) can require information about previous calculations.