GADGET-4
ewald.h File Reference

definition of class that implements the functionality needed for Ewald corrections More...

#include "gadgetconfig.h"
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../data/allvars.h"
#include "../data/dtypes.h"
#include "../data/mymalloc.h"
#include "../data/symtensors.h"
#include "../gravity/ewaldtensors.h"
#include "../gravtree/gravtree.h"
#include "../io/io.h"
#include "../system/system.h"

Go to the source code of this file.

Classes

class  ewald
 Ewald correction functionality. More...
 
struct  ewald::ewald_header
 

Macros

#define EWLEVEL   6
 
#define EN   (1 << EWLEVEL)
 Base dimension of cubical Ewald lookup table, for one octant. More...
 
#define ENX   (DBX * EN)
 
#define ENY   (DBY * EN)
 
#define ENZ   (DBZ * EN)
 

Variables

ewald Ewald
 

Detailed Description

definition of class that implements the functionality needed for Ewald corrections

Definition in file ewald.h.

Macro Definition Documentation

◆ EN

#define EN   (1 << EWLEVEL)

Base dimension of cubical Ewald lookup table, for one octant.

Definition at line 43 of file ewald.h.

◆ ENX

#define ENX   (DBX * EN)

Definition at line 45 of file ewald.h.

◆ ENY

#define ENY   (DBY * EN)

Definition at line 46 of file ewald.h.

◆ ENZ

#define ENZ   (DBZ * EN)

Definition at line 47 of file ewald.h.

◆ EWLEVEL

#define EWLEVEL   6

This file contains the definitions of the Ewald correction lookup table code.

Definition at line 41 of file ewald.h.

Variable Documentation

◆ Ewald

ewald Ewald
extern

Definition at line 42 of file main.cc.