Langevin C++ source

Loading...
Searching...
No Matches
dplangevin.hpp
Go to the documentation of this file.
1
5
6#ifndef DPLANGEVIN_HPP
7#define DPLANGEVIN_HPP
8
9#include "../core/langevin_types.hpp"
10#include "../core/langevin_base.hpp"
11
15 class DPLangevin : public BaseLangevin
16{
17 public:
19 DPLangevin() = default;
21 DPLangevin(Parameters p);
22
24 double quadratic_coefficient;
26 double diffusion_coefficient;
27
29 void set_nonlinear_coefficients(const Coefficients& coefficients);
31 double nonlinear_rhs(const int i_cell, const grid_t& density) const;
32};
33
34#endif
BaseLangevin::BaseLangevin
BaseLangevin()=default
Default constructor.
DPLangevin::set_nonlinear_coefficients
void set_nonlinear_coefficients(const Coefficients &coefficients)
Method to set nonlinear coefficients for deterministic integration step.
Definition dplangevin.cpp:31
DPLangevin::nonlinear_rhs
double nonlinear_rhs(const int i_cell, const grid_t &density) const
Method to set nonlinear RHS of Langevin equation for deterministic integration step.
Definition dplangevin.cpp:39
DPLangevin::diffusion_coefficient
double diffusion_coefficient
Diffusion coefficient D in DP-Langevin equation.
Definition dplangevin.hpp:26
DPLangevin::quadratic_coefficient
double quadratic_coefficient
Coefficient in nonlinear term -bρ² in DP-Langevin equation.
Definition dplangevin.hpp:24
DPLangevin::DPLangevin
DPLangevin()=default
Constructor assuming default model parameters.
langevin_base.hpp
Base class for Langevin equation integrator.
langevin_types.hpp
Type definitions for BaseLangevin integrator.
grid_t
std::vector< double > grid_t
Type for density grid.
Definition langevin_types.hpp:24
Coefficients
Container for nonlinear Langevin equation coefficients.
Definition langevin_coefficients.hpp:24
Parameters
Container for BaseLangevin integrator parameters.
Definition langevin_parameters.hpp:21