ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
A plane wave. More...
#include <PlaneWave.hpp>
Public Types | |
using | value_type = typename Utils::decay_to_scalar< Utils::Vector< T, codim > >::type |
using | jacobian_type = detail::jacobian_type< T, codim > |
Public Member Functions | |
PlaneWave (const value_type amplitude, const value_type &k, T omega, T phase) | |
value_type & | amplitude () |
value_type & | k () |
T & | omega () |
T & | phase () |
value_type | operator() (const Utils::Vector3d &x, T t=0.) const |
brief Evaluate field. | |
jacobian_type | jacobian (const Utils::Vector3d &x, T t=0.) const |
brief Evaluate the Jacobian matrix of the field. | |
bool | fits_in_box (const Utils::Vector3d &) const |
A plane wave.
A time-dependent plane wave, with a certain (vector-valued) amplitude, wave vector frequency and phase.
See https://en.wikipedia.org/wiki/Plane_wave
Definition at line 40 of file PlaneWave.hpp.
using FieldCoupling::Fields::PlaneWave< T, codim >::jacobian_type = detail::jacobian_type<T, codim> |
Definition at line 44 of file PlaneWave.hpp.
using FieldCoupling::Fields::PlaneWave< T, codim >::value_type = typename Utils::decay_to_scalar<Utils::Vector<T, codim> >::type |
Definition at line 42 of file PlaneWave.hpp.
|
inline |
Definition at line 53 of file PlaneWave.hpp.
|
inline |
Definition at line 56 of file PlaneWave.hpp.
|
inline |
Definition at line 90 of file PlaneWave.hpp.
|
inline |
brief Evaluate the Jacobian matrix of the field.
See https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant In the special case of a scalar field, the Jacobian is the gradient of the field.
x | Where? |
t | When? |
Definition at line 83 of file PlaneWave.hpp.
References Utils::tensor_product().
|
inline |
Definition at line 57 of file PlaneWave.hpp.
|
inline |
Definition at line 58 of file PlaneWave.hpp.
|
inline |
brief Evaluate field.
x | Where? |
t | When? |
Definition at line 68 of file PlaneWave.hpp.
|
inline |
Definition at line 59 of file PlaneWave.hpp.