Skip to content
Permalink
Browse files

testing rotfric exception, deleted trajectory vtk from old test

  • Loading branch information...
christophlohrmann committed Sep 10, 2019
1 parent 2c26c8d commit 030463dc0288a4d7f3e7a8b73c1b08710614e3da
Showing with 18 additions and 1,740 deletions.
  1. +2 −2 src/core/rotation.cpp
  2. +0 −1,738 testsuite/python/data/engine_lb_2pt.vtk
  3. +16 −0 testsuite/python/engine_lb.py
@@ -280,8 +280,8 @@ void convert_torques_propagate_omega(const ParticleRange &particles) {
if (p.swim.swimming && lb_lbfluid_get_lattice_switch() != ActiveLB::NONE) {
if (lb_lbfluid_get_lattice_switch() == ActiveLB::CPU && n_nodes > 1 &&
p.swim.rotational_friction != 0.) {
throw std::runtime_error("ENGINE rotational_friction feature with "
"CPU-LB only implemented for one CPU core");
runtimeErrorMsg() << "ENGINE rotational_friction feature with CPU-LB "
"only implemented for one CPU core";
}

auto const dip = p.swim.dipole_length * p.r.calc_director();

0 comments on commit 030463d

Please sign in to comment.
You can’t perform that action at this time.