Class: Wrnap::Package::FftEq

Inherits:
FftEqBase show all
Defined in:
lib/wrnap/package/fft_eq.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#data, #flags, #response, #runtime

Instance Method Summary collapse

Methods inherited from FftEqBase

#run_command

Methods inherited from Base

bootstrap, #debugger, #initialize, #inspect

Methods included from Global::Yaml

#deserialize, #serialize

Methods included from Global::Chainer

included

Methods included from Global::Runner

included

Constructor Details

This class inherits a constructor from Wrnap::Package::Base

Instance Attribute Details

#equilibriumObject (readonly)

Returns the value of attribute equilibrium.



4
5
6
# File 'lib/wrnap/package/fft_eq.rb', line 4

def equilibrium
  @equilibrium
end

Instance Method Details

#post_processObject



15
16
17
# File 'lib/wrnap/package/fft_eq.rb', line 15

def post_process
  @equilibrium = (response.empty? || response =~ /Infinity/ ? -1 : 10 ** response.strip.to_f)
end