i3Dlin Class Reference
Detailed Description

schema
This is the circuit that calculates the interpolation of the provided force field. The force field must be in the following format, but plese note that the interpolation circuit is capable of taking any number of components in.
x y z F1 F2 F3
The force field must also use a constant step size for each dimenson, although the force field can be in any order. The x y and z must also be the index of the point eg: 1 1 1 , 1 1 2 , 1 1 3 etc. When you configure the circuit later on you set the steps size to whatever you want it to be.
- Initialisation parameters:.
- Components = Number of components of force in the force field.
- pushed True|False
- Initialisation commands:
- Configure(steps=array, npoints=integer, pbc=True|False, ForceMultipler=float)
- steps = step size of the force field must be specfied in this format [x,y,z]
- npoints = number of points in each dimension must be specfied in this format [xn,yn,zn]
- pbc = Perodic boundray conditions for each dimenson, must be specfied in this format [True|False,True|False,True|False]
- ForceMultipler = A global multipler for all the force field values, use this to change the units of the force field into what ever units are desired.
- ReadData(filename = string)
- Filename is the force field being interpolated.
- Configure(steps=array, npoints=integer, pbc=True|False, ForceMultipler=float)
- Input channels:
- x : this is x the coordiante to calculate the interpolation.
- y : this is y the coordiante to calculate the interpolation.
- z : this is z the coordiante to calculate the interpolation.
- Output channels:
- Fn: The interpolated forces where n is the component for example F1 would be first first component.
Example:
Inherits Circuit.
Additional Inherited Members | |
![]() | |
name | |
Name of the circuit. More... | |
enabled | |
if it is working... More... | |
machine | |
Reference to the virtual machine to which this circuit belongs. More... | |
pushed | |
Push output buffer at the end of Update. More... | |
I | |
Dictionary of input channels. | |
O | |
Dictionary of output channels. | |
cCoreID | |
index of circuit in cCore | |
Documentation for pyVAFM