Documentation ¶
Index ¶
- Constants
- Variables
- func AtomNameToProtons(name1 string) (int, error)
- type ATSetting
- type Angle
- type AngleType
- func (at *AngleType) AType1() string
- func (at *AngleType) AType2() string
- func (at *AngleType) AType3() string
- func (at *AngleType) ConvertTo(to NTSetting) (*AngleType, error)
- func (at *AngleType) HasR13Set() bool
- func (at *AngleType) HasThetaConstantSet() bool
- func (at *AngleType) HasThetaSet() bool
- func (at *AngleType) HasUBConstantSet() bool
- func (at *AngleType) R13() float64
- func (at *AngleType) SetR13(th float64)
- func (at *AngleType) SetTheta(th float64)
- func (at *AngleType) SetThetaConstant(th float64)
- func (at *AngleType) SetUBConstant(ub float64)
- func (at *AngleType) Setting() NTSetting
- func (at *AngleType) Theta() float64
- func (at *AngleType) ThetaConstant() float64
- func (at *AngleType) UBConstant() float64
- type Atom
- func (a *Atom) AddCoord(c [3]float64)
- func (a *Atom) AltLoc() string
- func (a *Atom) BFactor() float64
- func (a *Atom) Bonds() []*Bond
- func (a *Atom) Coords() [][3]float64
- func (a *Atom) Fragment() *Fragment
- func (a *Atom) Id() int64
- func (a *Atom) IsHetero() bool
- func (a *Atom) Name() string
- func (a *Atom) Occupancy() float64
- func (a *Atom) Serial() int64
- func (a *Atom) SetAltLoc(v string)
- func (a *Atom) SetBFactor(v float64)
- func (a *Atom) SetFragment(v *Fragment)
- func (a *Atom) SetHetero(v bool)
- func (a *Atom) SetOccupancy(v float64)
- func (a *Atom) SetSerial(s int64)
- func (a *Atom) SetType(v *AtomType)
- func (a *Atom) Type() *AtomType
- type AtomType
- func (at *AtomType) Charge() int
- func (at *AtomType) ConvertTo(to ATSetting) (*AtomType, error)
- func (at *AtomType) HasChargeSet() bool
- func (at *AtomType) HasLJDistance14Set() bool
- func (at *AtomType) HasLJDistanceSet() bool
- func (at *AtomType) HasLJEnergy14Set() bool
- func (at *AtomType) HasLJEnergySet() bool
- func (at *AtomType) HasMassSet() bool
- func (at *AtomType) HasPartialChargeSet() bool
- func (at *AtomType) HasProtonsSet() bool
- func (at *AtomType) HasRadiusSet() bool
- func (at *AtomType) LJDistance() float64
- func (at *AtomType) LJDistance14() float64
- func (at *AtomType) LJEnergy() float64
- func (at *AtomType) LJEnergy14() float64
- func (at *AtomType) Label() string
- func (at *AtomType) Mass() float64
- func (at *AtomType) PartialCharge() float64
- func (at *AtomType) Protons() int
- func (at *AtomType) Radius() float64
- func (at *AtomType) SetCharge(v int)
- func (at *AtomType) SetLJDistance(v float64)
- func (at *AtomType) SetLJDistance14(v float64)
- func (at *AtomType) SetLJEnergy(v float64)
- func (at *AtomType) SetLJEnergy14(v float64)
- func (at *AtomType) SetMass(v float64)
- func (at *AtomType) SetPartialCharge(v float64)
- func (at *AtomType) SetProtons(v int)
- func (at *AtomType) SetRadius(v float64)
- func (at *AtomType) Setting() ATSetting
- type BTSetting
- type Bond
- type BondType
- func (bt *BondType) AType1() string
- func (bt *BondType) AType2() string
- func (bt *BondType) ConvertTo(to BTSetting) (*BondType, error)
- func (bt *BondType) HarmonicConstant() float64
- func (bt *BondType) HarmonicDistance() float64
- func (bt *BondType) HasHarmonicConstantSet() bool
- func (bt *BondType) HasHarmonicDistanceSet() bool
- func (bt *BondType) IsSingle() bool
- func (bt *BondType) SetHarmonicConstant(v float64)
- func (bt *BondType) SetHarmonicDistance(v float64)
- func (bt *BondType) SetOrderSingle()
- func (bt *BondType) Setting() BTSetting
- type CMap
- func (c *CMap) Atom1() *Atom
- func (c *CMap) Atom2() *Atom
- func (c *CMap) Atom3() *Atom
- func (c *CMap) Atom4() *Atom
- func (c *CMap) Atom5() *Atom
- func (c *CMap) Atom6() *Atom
- func (c *CMap) Atom7() *Atom
- func (c *CMap) Atom8() *Atom
- func (c *CMap) SetType(ct *CMapType)
- func (c *CMap) Type() *CMapType
- type CMapType
- func (ct *CMapType) AType1() string
- func (ct *CMapType) AType2() string
- func (ct *CMapType) AType3() string
- func (ct *CMapType) AType4() string
- func (ct *CMapType) AType5() string
- func (ct *CMapType) AType6() string
- func (ct *CMapType) AType7() string
- func (ct *CMapType) AType8() string
- func (ct *CMapType) ConvertTo(to CTSetting) (*CMapType, error)
- func (ct *CMapType) SetValues(vs []float64)
- func (ct *CMapType) Setting() CTSetting
- func (ct *CMapType) Values() []float64
- type CTSetting
- type Connection
- type DTSetting
- type Dihedral
- type DihedralType
- func (dt *DihedralType) AType1() string
- func (dt *DihedralType) AType2() string
- func (dt *DihedralType) AType3() string
- func (dt *DihedralType) AType4() string
- func (dt *DihedralType) ConvertTo(to DTSetting) (*DihedralType, error)
- func (dt *DihedralType) HasMultiplicitySet() bool
- func (dt *DihedralType) HasPhiConstantSet() bool
- func (dt *DihedralType) HasPhiSet() bool
- func (dt *DihedralType) Multiplicity() int
- func (dt *DihedralType) Phi() float64
- func (dt *DihedralType) PhiConstant() float64
- func (dt *DihedralType) SetMultiplicity(v int)
- func (dt *DihedralType) SetPhi(v float64)
- func (dt *DihedralType) SetPhiConstant(v float64)
- func (dt *DihedralType) Setting() DTSetting
- type FFSetting
- type ForceField
- func (ff *ForceField) AddAngleType(at *AngleType)
- func (ff *ForceField) AddAtomType(at *AtomType)
- func (ff *ForceField) AddBondType(bt *BondType)
- func (ff *ForceField) AddCMapType(v *CMapType)
- func (ff *ForceField) AddDihedralType(dt *DihedralType)
- func (ff *ForceField) AddFragment(v *Fragment)
- func (ff *ForceField) AddImproperType(it *ImproperType)
- func (ff *ForceField) AddNonBondedType(nb *PairType)
- func (ff *ForceField) AddOneFourType(nb *PairType)
- func (ff *ForceField) AngleType(key HashKey) *AngleType
- func (ff *ForceField) AngleTypes() map[HashKey]*AngleType
- func (ff *ForceField) AtomType(key HashKey) *AtomType
- func (ff *ForceField) AtomTypes() map[HashKey]*AtomType
- func (ff *ForceField) BondType(key HashKey) *BondType
- func (ff *ForceField) BondTypes() map[HashKey]*BondType
- func (ff *ForceField) CMapType(key HashKey) *CMapType
- func (ff *ForceField) CMapTypes() map[HashKey]*CMapType
- func (ff *ForceField) DihedralType(key HashKey) *DihedralType
- func (ff *ForceField) DihedralTypes() map[HashKey]*DihedralType
- func (ff *ForceField) Errors() []error
- func (ff *ForceField) Fragment(key HashKey) *Fragment
- func (ff *ForceField) Fragments() map[HashKey]*Fragment
- func (ff *ForceField) GMXSetup() *GMXSetup
- func (ff *ForceField) ImproperType(key HashKey) *ImproperType
- func (ff *ForceField) ImproperTypes() map[HashKey]*ImproperType
- func (ff *ForceField) NonBondedType(key HashKey) *PairType
- func (ff *ForceField) NonBondedTypes() map[HashKey]*PairType
- func (ff *ForceField) OneFourType(key HashKey) *PairType
- func (ff *ForceField) OneFourTypes() map[HashKey]*PairType
- func (ff *ForceField) SetGMXSetup(g *GMXSetup)
- func (ff *ForceField) Setting() FFSetting
- type Fragment
- func (f *Fragment) AddAngle(a *Angle)
- func (f *Fragment) AddAtom(a *Atom)
- func (f *Fragment) AddBond(b *Bond)
- func (f *Fragment) AddCMap(c *CMap)
- func (f *Fragment) AddDihedral(d *Dihedral)
- func (f *Fragment) AddImproper(b *Improper)
- func (f *Fragment) Angles() []*Angle
- func (f *Fragment) Atoms() []*Atom
- func (f *Fragment) Bonds() []*Bond
- func (f *Fragment) CMaps() []*CMap
- func (f *Fragment) Dihedrals() []*Dihedral
- func (f *Fragment) HasLinkerNext() bool
- func (f *Fragment) HasLinkerPrev() bool
- func (f *Fragment) Id() int64
- func (f *Fragment) Impropers() []*Improper
- func (f *Fragment) LinkerNext() *Linker
- func (f *Fragment) LinkerPrev() *Linker
- func (f *Fragment) Name() string
- func (f *Fragment) Serial() int64
- func (f *Fragment) SetLinkerNext(l *Linker)
- func (f *Fragment) SetLinkerPrev(l *Linker)
- func (f *Fragment) SetSerial(s int64)
- type GMXSetup
- type HashKey
- type HashKeySetting
- type ITSetting
- type Improper
- type ImproperType
- func (dt *ImproperType) AType1() string
- func (dt *ImproperType) AType2() string
- func (dt *ImproperType) AType3() string
- func (dt *ImproperType) AType4() string
- func (dt *ImproperType) ConvertTo(to ITSetting) (*ImproperType, error)
- func (dt *ImproperType) HasPsiConstantSet() bool
- func (dt *ImproperType) HasPsiSet() bool
- func (dt *ImproperType) Psi() float64
- func (dt *ImproperType) PsiConstant() float64
- func (dt *ImproperType) SetPsi(v float64)
- func (dt *ImproperType) SetPsiConstant(v float64)
- func (dt *ImproperType) Setting() ITSetting
- type Link
- type Linker
- func (l *Linker) Bond() *Bond
- func (l *Linker) Fragment1() *Fragment
- func (l *Linker) Fragment2() *Fragment
- func (l *Linker) Improper() *Improper
- func (l *Linker) SetBond(b *Bond)
- func (l *Linker) SetFragment1(frag1 *Fragment)
- func (l *Linker) SetFragment2(frag2 *Fragment)
- func (l *Linker) SetImproper(m *Improper)
- type NTSetting
- type PTSetting
- type Pair
- type PairType
- func (pt *PairType) AType1() string
- func (pt *PairType) AType2() string
- func (pt *PairType) ConvertTo(to PTSetting) (*PairType, error)
- func (pt *PairType) HasLJDistance14Set() bool
- func (pt *PairType) HasLJDistanceSet() bool
- func (pt *PairType) HasLJEnergy14Set() bool
- func (pt *PairType) HasLJEnergySet() bool
- func (pt *PairType) LJDistance() float64
- func (pt *PairType) LJDistance14() float64
- func (pt *PairType) LJEnergy() float64
- func (pt *PairType) LJEnergy14() float64
- func (pt *PairType) SetLJDistance(v float64)
- func (pt *PairType) SetLJDistance14(v float64)
- func (pt *PairType) SetLJEnergy(v float64)
- func (pt *PairType) SetLJEnergy14(v float64)
- func (pt *PairType) Setting() PTSetting
- type System
- func (s *System) AddAngle(a *Angle)
- func (s *System) AddAtom(a *Atom)
- func (s *System) AddBond(b *Bond)
- func (s *System) AddDihedral(d *Dihedral)
- func (s *System) AddFragment(f *Fragment)
- func (s *System) AddImproper(b *Improper)
- func (s *System) Angles() []*Angle
- func (s *System) Atoms() []*Atom
- func (s *System) Bonds() []*Bond
- func (s *System) Dihedrals() []*Dihedral
- func (s *System) Fragments() []*Fragment
- func (s *System) Id() int64
- func (s *System) Impropers() []*Improper
- func (s *System) String() string
Constants ¶
View Source
const HASH_KEY_SEP = "_"
Variables ¶
View Source
var PROTONS_LIB = map[string]*atomInfo{ "H": &atomInfo{1, regexp.MustCompile(`^\d*H[A-Z0-9]*$`)}, "LI": &atomInfo{3, regexp.MustCompile(`^LI[A-Z0-9]*$`)}, "C": &atomInfo{6, regexp.MustCompile(`^C[A-Z0-9]*$`)}, "N": &atomInfo{7, regexp.MustCompile(`^N[A-Z0-9]*$`)}, "O": &atomInfo{8, regexp.MustCompile(`^O[A-Z0-9]*$`)}, "F": &atomInfo{9, regexp.MustCompile(`^F[A-Z0-9]*$`)}, "NA": &atomInfo{11, regexp.MustCompile(`^NA\d*$`)}, "MG": &atomInfo{12, regexp.MustCompile(`^MG\d*$`)}, "AL": &atomInfo{13, regexp.MustCompile(`^AL[A-Z0-9]*$`)}, "P": &atomInfo{15, regexp.MustCompile(`^P[A-Z0-9]*$`)}, "S": &atomInfo{16, regexp.MustCompile(`^S[A-Z0-9]*$`)}, "CL": &atomInfo{17, regexp.MustCompile(`^CL\d*$`)}, "K": &atomInfo{19, regexp.MustCompile(`^K\d*$`)}, "CA": &atomInfo{20, regexp.MustCompile(`^CA\d*$`)}, "FE": &atomInfo{26, regexp.MustCompile(`^FE\d*$`)}, "ZN": &atomInfo{30, regexp.MustCompile(`^ZN\d*$`)}, "BR": &atomInfo{35, regexp.MustCompile(`^BR[A-Z0-9]*$`)}, "RB": &atomInfo{37, regexp.MustCompile(`^RB[A-Z0-9]*$`)}, "I": &atomInfo{53, regexp.MustCompile(`^I[A-Z0-9]*$`)}, "BA": &atomInfo{56, regexp.MustCompile(`^BA[A-Z0-9]*$`)}, }
Functions ¶
func AtomNameToProtons ¶
Types ¶
type ATSetting ¶
type ATSetting int64
const ( AT_NULL ATSetting = 1 << iota // AT_TYPE_CHM_1 // Normal CHARMM ATOM AT_TYPE_GMX_1 // Normal GROMACS ATOM AT_HAS_PROTONS_SET AT_HAS_MASS_SET AT_HAS_LJ_DISTANCE_SET AT_HAS_LJ_ENERGY_SET AT_HAS_LJ_DISTANCE_14_SET AT_HAS_LJ_ENERGY_14_SET AT_HAS_CHARGE_SET AT_HAS_PARTIAL_CHARGE_SET AT_HAS_RADIUS_SET )
type AngleType ¶
type AngleType struct {
// contains filtered or unexported fields
}
func NewAngleType ¶
func (*AngleType) HasThetaConstantSet ¶
func (*AngleType) HasThetaSet ¶
func (*AngleType) HasUBConstantSet ¶
func (*AngleType) SetThetaConstant ¶
func (*AngleType) SetUBConstant ¶
func (*AngleType) ThetaConstant ¶
func (*AngleType) UBConstant ¶
type Atom ¶
type Atom struct {
// contains filtered or unexported fields
}
func (*Atom) SetBFactor ¶
func (*Atom) SetFragment ¶
func (*Atom) SetOccupancy ¶
type AtomType ¶
type AtomType struct {
// contains filtered or unexported fields
}
func NewAtomType ¶
func (*AtomType) HasChargeSet ¶
func (*AtomType) HasLJDistance14Set ¶
func (*AtomType) HasLJDistanceSet ¶
func (*AtomType) HasLJEnergy14Set ¶
func (*AtomType) HasLJEnergySet ¶
func (*AtomType) HasMassSet ¶
func (*AtomType) HasPartialChargeSet ¶
func (*AtomType) HasProtonsSet ¶
func (*AtomType) HasRadiusSet ¶
func (*AtomType) LJDistance ¶
func (*AtomType) LJDistance14 ¶
func (*AtomType) LJEnergy14 ¶
func (*AtomType) PartialCharge ¶
func (*AtomType) SetLJDistance ¶
func (*AtomType) SetLJDistance14 ¶
func (*AtomType) SetLJEnergy ¶
func (*AtomType) SetLJEnergy14 ¶
func (*AtomType) SetPartialCharge ¶
func (*AtomType) SetProtons ¶
type BondType ¶
type BondType struct {
// contains filtered or unexported fields
}
func NewBondType ¶
func (*BondType) HarmonicConstant ¶
func (*BondType) HarmonicDistance ¶
func (*BondType) HasHarmonicConstantSet ¶
func (*BondType) HasHarmonicDistanceSet ¶
func (*BondType) SetHarmonicConstant ¶
func (*BondType) SetHarmonicDistance ¶
func (*BondType) SetOrderSingle ¶
func (bt *BondType) SetOrderSingle()
type CMapType ¶
type CMapType struct {
// contains filtered or unexported fields
}
func NewCMapType ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
A Connection is made of two atoms.
func NewConnection ¶
func NewConnection(atom1, atom2 *Atom) *Connection
func (*Connection) Atom1 ¶
func (c *Connection) Atom1() *Atom
func (*Connection) Atom2 ¶
func (c *Connection) Atom2() *Atom
func (*Connection) Fragment1 ¶
func (c *Connection) Fragment1() *Fragment
func (*Connection) Fragment2 ¶
func (c *Connection) Fragment2() *Fragment
type Dihedral ¶
type Dihedral struct {
// contains filtered or unexported fields
}
func NewDihedral ¶
func (*Dihedral) SetType ¶
func (d *Dihedral) SetType(dt *DihedralType)
func (*Dihedral) Type ¶
func (d *Dihedral) Type() *DihedralType
type DihedralType ¶
type DihedralType struct {
// contains filtered or unexported fields
}
func NewDihedralType ¶
func NewDihedralType(at1, at2, at3, at4 string, t DTSetting) *DihedralType
func (*DihedralType) AType1 ¶
func (dt *DihedralType) AType1() string
func (*DihedralType) AType2 ¶
func (dt *DihedralType) AType2() string
func (*DihedralType) AType3 ¶
func (dt *DihedralType) AType3() string
func (*DihedralType) AType4 ¶
func (dt *DihedralType) AType4() string
func (*DihedralType) ConvertTo ¶
func (dt *DihedralType) ConvertTo(to DTSetting) (*DihedralType, error)
func (*DihedralType) HasMultiplicitySet ¶
func (dt *DihedralType) HasMultiplicitySet() bool
func (*DihedralType) HasPhiConstantSet ¶
func (dt *DihedralType) HasPhiConstantSet() bool
func (*DihedralType) HasPhiSet ¶
func (dt *DihedralType) HasPhiSet() bool
func (*DihedralType) Multiplicity ¶
func (dt *DihedralType) Multiplicity() int
func (*DihedralType) Phi ¶
func (dt *DihedralType) Phi() float64
func (*DihedralType) PhiConstant ¶
func (dt *DihedralType) PhiConstant() float64
func (*DihedralType) SetMultiplicity ¶
func (dt *DihedralType) SetMultiplicity(v int)
func (*DihedralType) SetPhi ¶
func (dt *DihedralType) SetPhi(v float64)
func (*DihedralType) SetPhiConstant ¶
func (dt *DihedralType) SetPhiConstant(v float64)
func (*DihedralType) Setting ¶
func (dt *DihedralType) Setting() DTSetting
type ForceField ¶
type ForceField struct {
// contains filtered or unexported fields
}
func NewForceField ¶
func NewForceField(ft FFSetting) *ForceField
func (*ForceField) AddAngleType ¶
func (ff *ForceField) AddAngleType(at *AngleType)
func (*ForceField) AddAtomType ¶
func (ff *ForceField) AddAtomType(at *AtomType)
func (*ForceField) AddBondType ¶
func (ff *ForceField) AddBondType(bt *BondType)
func (*ForceField) AddCMapType ¶
func (ff *ForceField) AddCMapType(v *CMapType)
func (*ForceField) AddDihedralType ¶
func (ff *ForceField) AddDihedralType(dt *DihedralType)
func (*ForceField) AddFragment ¶
func (ff *ForceField) AddFragment(v *Fragment)
func (*ForceField) AddImproperType ¶
func (ff *ForceField) AddImproperType(it *ImproperType)
func (*ForceField) AddNonBondedType ¶
func (ff *ForceField) AddNonBondedType(nb *PairType)
func (*ForceField) AddOneFourType ¶
func (ff *ForceField) AddOneFourType(nb *PairType)
func (*ForceField) AngleType ¶
func (ff *ForceField) AngleType(key HashKey) *AngleType
func (*ForceField) AngleTypes ¶
func (ff *ForceField) AngleTypes() map[HashKey]*AngleType
func (*ForceField) AtomType ¶
func (ff *ForceField) AtomType(key HashKey) *AtomType
func (*ForceField) AtomTypes ¶
func (ff *ForceField) AtomTypes() map[HashKey]*AtomType
func (*ForceField) BondType ¶
func (ff *ForceField) BondType(key HashKey) *BondType
func (*ForceField) BondTypes ¶
func (ff *ForceField) BondTypes() map[HashKey]*BondType
func (*ForceField) CMapType ¶
func (ff *ForceField) CMapType(key HashKey) *CMapType
func (*ForceField) CMapTypes ¶
func (ff *ForceField) CMapTypes() map[HashKey]*CMapType
func (*ForceField) DihedralType ¶
func (ff *ForceField) DihedralType(key HashKey) *DihedralType
func (*ForceField) DihedralTypes ¶
func (ff *ForceField) DihedralTypes() map[HashKey]*DihedralType
func (*ForceField) Errors ¶
func (ff *ForceField) Errors() []error
func (*ForceField) Fragment ¶
func (ff *ForceField) Fragment(key HashKey) *Fragment
func (*ForceField) Fragments ¶
func (ff *ForceField) Fragments() map[HashKey]*Fragment
func (*ForceField) GMXSetup ¶
func (ff *ForceField) GMXSetup() *GMXSetup
func (*ForceField) ImproperType ¶
func (ff *ForceField) ImproperType(key HashKey) *ImproperType
func (*ForceField) ImproperTypes ¶
func (ff *ForceField) ImproperTypes() map[HashKey]*ImproperType
func (*ForceField) NonBondedType ¶
func (ff *ForceField) NonBondedType(key HashKey) *PairType
func (*ForceField) NonBondedTypes ¶
func (ff *ForceField) NonBondedTypes() map[HashKey]*PairType
func (*ForceField) OneFourType ¶
func (ff *ForceField) OneFourType(key HashKey) *PairType
func (*ForceField) OneFourTypes ¶
func (ff *ForceField) OneFourTypes() map[HashKey]*PairType
func (*ForceField) SetGMXSetup ¶
func (ff *ForceField) SetGMXSetup(g *GMXSetup)
func (*ForceField) Setting ¶
func (ff *ForceField) Setting() FFSetting
type Fragment ¶
type Fragment struct {
// contains filtered or unexported fields
}
func NewFragment ¶
func (*Fragment) AddDihedral ¶
func (*Fragment) AddImproper ¶
func (*Fragment) HasLinkerNext ¶
func (*Fragment) HasLinkerPrev ¶
func (*Fragment) LinkerNext ¶
func (*Fragment) LinkerPrev ¶
func (*Fragment) SetLinkerNext ¶
func (*Fragment) SetLinkerPrev ¶
type GMXSetup ¶
type GMXSetup struct {
// contains filtered or unexported fields
}
func NewGMXSetup ¶
func (*GMXSetup) CombinationRule ¶
func (*GMXSetup) GeneratePairs ¶
type HashKey ¶
type HashKey string
func GenerateHashKey ¶
func GenerateHashKey(v interface{}, hks HashKeySetting) HashKey
type HashKeySetting ¶
type HashKeySetting int64
const ( HK_MODE_NORMAL HashKeySetting = 1 << iota HK_MODE_REVERSE_BOND HK_MODE_REVERSE_ANGLE HK_MODE_REVERSE_DIHEDRAL HK_MODE_SHORT_CMAP // 5 element cmap )
type Improper ¶
type Improper struct {
// contains filtered or unexported fields
}
func NewImproper ¶
func (*Improper) SetType ¶
func (d *Improper) SetType(dt *ImproperType)
func (*Improper) Type ¶
func (d *Improper) Type() *ImproperType
type ImproperType ¶
type ImproperType struct {
// contains filtered or unexported fields
}
func NewImproperType ¶
func NewImproperType(at1, at2, at3, at4 string, t ITSetting) *ImproperType
func (*ImproperType) AType1 ¶
func (dt *ImproperType) AType1() string
func (*ImproperType) AType2 ¶
func (dt *ImproperType) AType2() string
func (*ImproperType) AType3 ¶
func (dt *ImproperType) AType3() string
func (*ImproperType) AType4 ¶
func (dt *ImproperType) AType4() string
func (*ImproperType) ConvertTo ¶
func (dt *ImproperType) ConvertTo(to ITSetting) (*ImproperType, error)
func (*ImproperType) HasPsiConstantSet ¶
func (dt *ImproperType) HasPsiConstantSet() bool
func (*ImproperType) HasPsiSet ¶
func (dt *ImproperType) HasPsiSet() bool
func (*ImproperType) Psi ¶
func (dt *ImproperType) Psi() float64
func (*ImproperType) PsiConstant ¶
func (dt *ImproperType) PsiConstant() float64
func (*ImproperType) SetPsi ¶
func (dt *ImproperType) SetPsi(v float64)
func (*ImproperType) SetPsiConstant ¶
func (dt *ImproperType) SetPsiConstant(v float64)
func (*ImproperType) Setting ¶
func (dt *ImproperType) Setting() ITSetting
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
A Link can have one or more Connection.
func (*Link) AddConnection ¶
func (ln *Link) AddConnection(c *Connection)
func (*Link) Connections ¶
func (ln *Link) Connections() []*Connection
type Linker ¶
type Linker struct {
// contains filtered or unexported fields
}
func (*Linker) SetFragment1 ¶
func (*Linker) SetFragment2 ¶
func (*Linker) SetImproper ¶
type PairType ¶
type PairType struct {
// contains filtered or unexported fields
}
PairType is used to describe custom parameters for non-bonding interactions
func NewPairType ¶
func (*PairType) HasLJDistance14Set ¶
func (*PairType) HasLJDistanceSet ¶
func (*PairType) HasLJEnergy14Set ¶
func (*PairType) HasLJEnergySet ¶
func (*PairType) LJDistance ¶
func (*PairType) LJDistance14 ¶
func (*PairType) LJEnergy14 ¶
func (*PairType) SetLJDistance ¶
func (*PairType) SetLJDistance14 ¶
func (*PairType) SetLJEnergy ¶
func (*PairType) SetLJEnergy14 ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
func (*System) AddDihedral ¶
func (*System) AddFragment ¶
func (*System) AddImproper ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.