TwoByTwoDomainMPI4Test.cpp File Reference
#include <thread>
#include "Mercury3D.h"
#include "Species/LinearViscoelasticSlidingFrictionSpecies.h"

Classes

class  TwoByTwoMPIDomainMPI4Test
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )
96 {
98  problem.solve();
99  for (auto c : problem.interactionHandler) {
100  auto i = dynamic_cast<SlidingFrictionInteraction*>(c);
101  helpers::check(i->getTangentialOverlap(), -0.0499896, 1e-6, "Tangential spring");
102  }
103  return 0;
104 }
InteractionHandler interactionHandler
An object of the class InteractionHandler.
Definition: DPMBase.h:1467
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Computes the forces corresponding to sliding friction.
Definition: SlidingFrictionInteraction.h:43
Definition: TwoByTwoDomainMPI4Test.cpp:35
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51
void check(double real, double ideal, double error, std::string errorMessage)
Definition: TestHelpers.cc:37

References helpers::check(), constants::i, DPMBase::interactionHandler, and DPMBase::solve().