ScaFaCoS
1.0.1
Scalable Fast Coulomb Solvers
|
file containing all p3m specific functions More...
#include "fcs_definitions.h"
#include "fcs_result_p.h"
#include "fcs_interface_p.h"
#include <math.h>
Go to the source code of this file.
Data Structures | |
struct | fcs_p3m_near_parameters_t |
The struct that keeps the parameters for the near field component of the method. More... | |
Macros | |
#define | FCS_P3M_USE_ERFC_APPROXIMATION 1 |
file containing all p3m specific functions
Definition in file fcs_p3m_p.h.
#define FCS_P3M_USE_ERFC_APPROXIMATION 1 |
Definition at line 39 of file fcs_p3m_p.h.
FCSResult fcs_p3m_distribute_parameters | ( | ) |
FCSResult fcs_p3m_get_near_parameters | ( | FCS | handle, |
fcs_p3m_near_parameters_t * | near_params | ||
) |
extracts the parameters required to compute the near-field component of p3m from the method handle
handle | the FCS-object, which contains the parameters |
near_params | the fcs_p3m_near_parameters_t object that will be updated with the near-field component parameters of the method. |
The struct can be obtained via fcs_p3m_get_near_parameters() and is used in fcs_p3m_compute_near_potential(), fcs_p3m_compute_near_field() and fcs_p3m_compute_near(). Note that the set of near field parameters might change whenever any of the parameters of the method changes. Therefore make sure to update the near field parameters after each parameter change.
fcs_int fcs_p3m_get_potential_shift | ( | FCS | handle | ) |
void fcs_p3m_set_tolerance_field_f | ( | void * | handle, |
fcs_float | tolerance_field, | ||
fcs_int * | return_value | ||
) |