My Project
Public Member Functions | Public Attributes | List of all members
checkEnergyBlocks.CheckEnergy Class Reference

Public Member Functions

def __init__ (self, run_name="", comparison_name="", numeric_method="_midpoint_")
 
def testTerminalMessage (self)
 
def singleResult (self)
 
def comparisonResult (self, comparison_name, numeric_method)
 
def loadFiles (self, run_name, numeric_method)
 
def loadComparisonFiles (self, comparison_name, numeric_method)
 
def setUpPlot (self)
 
def setUpPlotComparison (self)
 
def checkPossibleEnergytests (self)
 
def checkOnlyPullingEnergyTest (self)
 
def checkOnlyNeighborEnergyTest (self)
 
def onlyPullingSpringsEnergyTest (self, block_velocity, block_position)
 
def onlyNeighborSpringsEnergyTest (self, block_velocity, block_position)
 
def calculateError (self, energy_array)
 
def compareError (self, energy_test_result, energy_test_result_comparison)
 
def plotEnergyTest (self, energy_test_result, zoom=True)
 
def plotEnergyTestComparison (self, energy_test_result, energy_test_result_comparison, zoom=True)
 

Public Attributes

 results_path
 
 run_parameters
 
 block_position
 
 block_velocity
 
 block_position_comparison
 
 block_velocity_comparison
 
 one_block_boolean
 
 x
 
 step_size
 
 one_block_boolean_comparison
 
 x_comparison
 
 step_size_comparison
 
 only_pulling_springs
 
 only_neighbor_springs
 

Detailed Description

Definition at line 12 of file checkEnergyBlocks.py.

Constructor & Destructor Documentation

◆ __init__()

def checkEnergyBlocks.CheckEnergy.__init__ (   self,
  run_name = "",
  comparison_name = "",
  numeric_method = "_midpoint_" 
)

Definition at line 18 of file checkEnergyBlocks.py.

Here is the call graph for this function:

Member Function Documentation

◆ calculateError()

def checkEnergyBlocks.CheckEnergy.calculateError (   self,
  energy_array 
)

Definition at line 174 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ checkOnlyNeighborEnergyTest()

def checkEnergyBlocks.CheckEnergy.checkOnlyNeighborEnergyTest (   self)

Definition at line 127 of file checkEnergyBlocks.py.

◆ checkOnlyPullingEnergyTest()

def checkEnergyBlocks.CheckEnergy.checkOnlyPullingEnergyTest (   self)

Definition at line 119 of file checkEnergyBlocks.py.

◆ checkPossibleEnergytests()

def checkEnergyBlocks.CheckEnergy.checkPossibleEnergytests (   self)

Definition at line 115 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ compareError()

def checkEnergyBlocks.CheckEnergy.compareError (   self,
  energy_test_result,
  energy_test_result_comparison 
)

Definition at line 181 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ comparisonResult()

def checkEnergyBlocks.CheckEnergy.comparisonResult (   self,
  comparison_name,
  numeric_method 
)

Definition at line 54 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ loadComparisonFiles()

def checkEnergyBlocks.CheckEnergy.loadComparisonFiles (   self,
  comparison_name,
  numeric_method 
)

Definition at line 77 of file checkEnergyBlocks.py.

◆ loadFiles()

def checkEnergyBlocks.CheckEnergy.loadFiles (   self,
  run_name,
  numeric_method 
)

Definition at line 69 of file checkEnergyBlocks.py.

◆ onlyNeighborSpringsEnergyTest()

def checkEnergyBlocks.CheckEnergy.onlyNeighborSpringsEnergyTest (   self,
  block_velocity,
  block_position 
)

Definition at line 154 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ onlyPullingSpringsEnergyTest()

def checkEnergyBlocks.CheckEnergy.onlyPullingSpringsEnergyTest (   self,
  block_velocity,
  block_position 
)

Definition at line 138 of file checkEnergyBlocks.py.

◆ plotEnergyTest()

def checkEnergyBlocks.CheckEnergy.plotEnergyTest (   self,
  energy_test_result,
  zoom = True 
)

Definition at line 189 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ plotEnergyTestComparison()

def checkEnergyBlocks.CheckEnergy.plotEnergyTestComparison (   self,
  energy_test_result,
  energy_test_result_comparison,
  zoom = True 
)

Definition at line 207 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ setUpPlot()

def checkEnergyBlocks.CheckEnergy.setUpPlot (   self)

Definition at line 83 of file checkEnergyBlocks.py.

◆ setUpPlotComparison()

def checkEnergyBlocks.CheckEnergy.setUpPlotComparison (   self)

Definition at line 99 of file checkEnergyBlocks.py.

◆ singleResult()

def checkEnergyBlocks.CheckEnergy.singleResult (   self)

Definition at line 37 of file checkEnergyBlocks.py.

Here is the call graph for this function:

◆ testTerminalMessage()

def checkEnergyBlocks.CheckEnergy.testTerminalMessage (   self)

Definition at line 30 of file checkEnergyBlocks.py.

Member Data Documentation

◆ block_position

checkEnergyBlocks.CheckEnergy.block_position

Definition at line 74 of file checkEnergyBlocks.py.

◆ block_position_comparison

checkEnergyBlocks.CheckEnergy.block_position_comparison

Definition at line 80 of file checkEnergyBlocks.py.

◆ block_velocity

checkEnergyBlocks.CheckEnergy.block_velocity

Definition at line 75 of file checkEnergyBlocks.py.

◆ block_velocity_comparison

checkEnergyBlocks.CheckEnergy.block_velocity_comparison

Definition at line 81 of file checkEnergyBlocks.py.

◆ one_block_boolean

checkEnergyBlocks.CheckEnergy.one_block_boolean

Definition at line 91 of file checkEnergyBlocks.py.

◆ one_block_boolean_comparison

checkEnergyBlocks.CheckEnergy.one_block_boolean_comparison

Definition at line 106 of file checkEnergyBlocks.py.

◆ only_neighbor_springs

checkEnergyBlocks.CheckEnergy.only_neighbor_springs

Definition at line 135 of file checkEnergyBlocks.py.

◆ only_pulling_springs

checkEnergyBlocks.CheckEnergy.only_pulling_springs

Definition at line 124 of file checkEnergyBlocks.py.

◆ results_path

checkEnergyBlocks.CheckEnergy.results_path

Definition at line 70 of file checkEnergyBlocks.py.

◆ run_parameters

checkEnergyBlocks.CheckEnergy.run_parameters

Definition at line 72 of file checkEnergyBlocks.py.

◆ step_size

checkEnergyBlocks.CheckEnergy.step_size

Definition at line 94 of file checkEnergyBlocks.py.

◆ step_size_comparison

checkEnergyBlocks.CheckEnergy.step_size_comparison

Definition at line 108 of file checkEnergyBlocks.py.

◆ x

checkEnergyBlocks.CheckEnergy.x

Definition at line 92 of file checkEnergyBlocks.py.

◆ x_comparison

checkEnergyBlocks.CheckEnergy.x_comparison

Definition at line 107 of file checkEnergyBlocks.py.


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