Software for simulating active matter dynamics
Tensions Class Reference

Print tension for each Filament, Linker, and MotorGhost. More...

#include <Output.h>

Inheritance diagram for Tensions:
Collaboration diagram for Tensions:

Public Member Functions

 Tensions (string outputFileName, SubSystem *s)
 ~Tensions ()
virtual void print (int snapshot)
 To be implemented in sub classes. More...

Protected Attributes

ofstream _outputFile
 The output file being used. More...
SubSystem_subSystem = nullptr

Detailed Description

Print tension for each Filament, Linker, and MotorGhost.

This class prints the following: k * (l - l_0) where k is the stretching force constant, l is the current length, and l_0 is the equilibrium length.

Definition at line 97 of file Output.h.

Constructor & Destructor Documentation

§ Tensions()

Tensions::Tensions ( string  outputFileName,
SubSystem s 

Definition at line 100 of file Output.h.

§ ~Tensions()

Tensions::~Tensions ( )

Definition at line 101 of file Output.h.

References Output::print().

Member Function Documentation

§ print()

Member Data Documentation

§ _outputFile

ofstream Output::_outputFile

The output file being used.

Definition at line 36 of file Output.h.

§ _subSystem

SubSystem* Output::_subSystem = nullptr

Definition at line 38 of file Output.h.

Referenced by GController::getSubSystem().

The documentation for this class was generated from the following files: