ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
oif_global_forces.cpp File Reference
#include "oif_global_forces.hpp"
#include "BoxGeometry.hpp"
#include "Particle.hpp"
#include "bonded_interactions/bonded_interaction_data.hpp"
#include "cell_system/CellStructure.hpp"
#include "communication.hpp"
#include "oif_global_forces_params.hpp"
#include "system/System.hpp"
#include <utils/Vector.hpp>
#include <utils/math/triangle_functions.hpp>
#include <boost/mpi/collectives/all_reduce.hpp>
#include <boost/serialization/utility.hpp>
#include <cassert>
#include <cmath>
#include <functional>
#include <span>
+ Include dependency graph for oif_global_forces.cpp:

Go to the source code of this file.

Functions

static auto calc_oif_mesh (int molType, BoxGeometry const &box_geo, CellStructure &cs, BondedInteractionsMap const &bonded_ias)
 Calculate the mesh volume and area.
 
static void add_oif_global_forces (double area, double volume, int molType, BoxGeometry const &box_geo, CellStructure &cs, BondedInteractionsMap const &bonded_ias)
 Distribute the OIF global forces to all particles in the mesh.
 

Function Documentation

◆ add_oif_global_forces()

static void add_oif_global_forces ( double  area,
double  volume,
int  molType,
BoxGeometry const &  box_geo,
CellStructure cs,
BondedInteractionsMap const &  bonded_ias 
)
static

◆ calc_oif_mesh()

static auto calc_oif_mesh ( int  molType,
BoxGeometry const &  box_geo,
CellStructure cs,
BondedInteractionsMap const &  bonded_ias 
)
static