ESPResSo 3.2.0-11-g9950804-git
Extensible Simulation Package for Soft Matter Research
Functions | Variables
energy.c File Reference

Implementation of energy.h. More...

#include "energy.h"
#include "cells.h"
#include "integrate.h"
#include "initialize.h"
#include "domain_decomposition.h"
#include "nsquare.h"
#include "layered.h"
#include "elc.h"
#include "magnetic_non_p3m_methods.h"
#include "mdlc_correction.h"
Include dependency graph for energy.c:

Go to the source code of this file.

Functions

void calc_long_range_energies ()
 Calculate long range energies (P3M, MMM2d...).
void energy_calc (double *result)
 parallel energy calculation.
void init_energies (Observable_stat *stat)
 allocate energy arrays and initialize with zero
void master_energy_calc ()
 on the master node: calc energies only if necessary

Variables

Observable_stat energy = {0, {NULL,0,0}, 0,0,0}
Observable_stat total_energy = {0, {NULL,0,0}, 0,0,0}

Detailed Description

Implementation of energy.h.

Definition in file energy.c.


Function Documentation

void calc_long_range_energies ( )
void energy_calc ( double *  result)
void init_energies ( Observable_stat stat)
void master_energy_calc ( )

on the master node: calc energies only if necessary

Definition at line 201 of file energy.c.

References Observable_stat::data, DoubleList::e, Observable_stat::init_status, and mpi_gather_stats().

Referenced by hamiltonian_calc(), and tclcommand_analyze_parse_and_print_energy().


Variable Documentation

Observable_stat energy = {0, {NULL,0,0}, 0,0,0}
Observable_stat total_energy = {0, {NULL,0,0}, 0,0,0}