name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
OpenMD::GreaterThanConstraint<double>::GreaterThanConstraint(double)
GreaterThanConstraint(T rhs) : rhs_(rhs) { std::stringstream iss; iss << "greater than" << rhs; this->description_ = iss.str(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq %rdi, %rbx leaq 0x10(%rdi), %r15 movq %r15, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movsd %xmm0, (%rsp) movsd %xmm0, 0x20(%rdi) leaq 0x28(%rsp), %rdi callq 0x1b370 leaq 0x38(%rsp), %r14 leaq 0x10d51c(%rip), %rsi # 0x1926be mov...
/OpenMD[P]OpenMD/src/io/ParamConstraint.hpp
OpenMD::AndParamConstraint<OpenMD::GreaterThanConstraint<double>, OpenMD::LessThanOrEqualToConstraint<double>>::AndParamConstraint(OpenMD::GreaterThanConstraint<double>, OpenMD::LessThanOrEqualToConstraint<double>)
AndParamConstraint(Cons1T cons1, Cons2T cons2) : cons1_(cons1), cons2_(cons2) { std::stringstream iss; iss << "(" << cons1_.getConstraintDescription() << " and " << cons2_.getConstraintDescription() << ")"; this->description_ = iss.str(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1e8, %rsp # imm = 0x1E8 movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, 0x10(%rsp) movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) leaq 0x20(%rdi), %r14 leaq 0x30(%rdi), %rax movq %rax, 0x8...
/OpenMD[P]OpenMD/src/io/ParamConstraint.hpp
void OpenMD::Utils::deletePointers<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, OpenMD::IntegratorCreator*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<ch...
void deletePointers(Container& container) { if constexpr(details::is_container_v<typename Container::value_type>) { for (auto& elem : container) deletePointers(elem); } else { for (auto& elem : container) details::lifted_deleter(elem); } }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x18(%rdi), %r14 addq $0x8, %rbx cmpq %rbx, %r14 je 0x858b0 movq 0x40(%r14), %rdi testq %rdi, %rdi je 0x858a0 movq (%rdi), %rax callq *0x8(%rax) movq %r14, %rdi callq 0x1b360 movq %rax, %r14 cmpq %rbx, %rax jne 0x85891 addq $0x8, %rsp popq %rbx popq %r14 retq
/OpenMD[P]OpenMD/src/utils/MemoryUtils.hpp
OpenMD::LangevinDynamics::moveB()
void LangevinDynamics::moveB() { SimInfo::MoleculeIterator i; Molecule::IntegrableObjectIterator j; Molecule* mol; StuntDouble* sd; Vector3d vel; Vector3d frc; Vector3d Tb; Vector3d ji; RealType mass; for (mol = info_->beginMolecule(i); mol != NULL; mol = info_->nextMol...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %rbx xorl %eax, %eax leaq 0x58(%rsp), %rsi movq %rax, (%rsi) movq %rax, 0x70(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0x60(%rsp) movq 0x70(%rdi), %rdi callq 0x33966 testq %rax, %rax je 0x8630b movq %rax, %r15 movsd 0x10b51e(%rip...
/OpenMD[P]OpenMD/src/integrators/LangevinDynamics.cpp
OpenMD::NgammaT::evolveEtaA()
void NgammaT::evolveEtaA() { Mat3x3d hmat = snap->getHmat(); RealType hz = hmat(axis_, axis_); RealType Axy = hmat(axis1_, axis1_) * hmat(axis2_, axis2_); RealType sx = -hz * (press(axis1_, axis1_) - targetPressure / Constants::pressureConvert); RealType sy = -hz * (press...
pushq %rbx subq $0x50, %rsp movq %rdi, %rbx movq 0xe0(%rdi), %rsi leaq 0x8(%rsp), %rdi callq 0x7dbbc movl 0x330(%rbx), %eax leaq (,%rax,8), %rcx leaq (%rcx,%rcx,2), %rcx leaq (%rsp,%rcx), %rdi addq $0x8, %rdi movl 0x334(%rbx), %esi leaq (,%rsi,8), %rdx leaq (%rdx,%rdx,2), %r8 leaq 0x8(%rsp,%r8), %rdx movsd (%rdx,%rsi,8...
/OpenMD[P]OpenMD/src/integrators/NgammaT.cpp
OpenMD::NPA::moveB()
void NPA::moveB(void) { SimInfo::MoleculeIterator i; Molecule::IntegrableObjectIterator j; Molecule* mol; StuntDouble* sd; int index; Vector3d Tb; Vector3d ji; Vector3d sc; Vector3d vel; Vector3d frc; RealType mass; loadEta(); // save velocity and angular momentum ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rdi, %rbx xorl %r15d, %r15d leaq 0x18(%rsp), %r14 movq %r15, (%r14) movq %r15, 0xe0(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0xd0(%rsp) movq %r15, 0xc0(%rsp) movapd %xmm0, 0xb0(%rsp) movq %r15, 0xa0(%rsp) mo...
/OpenMD[P]OpenMD/src/integrators/NPA.cpp
OpenMD::NPA::scaleSimBox()
void NPA::scaleSimBox() { Mat3x3d scaleMat; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { scaleMat(i, j) = 0.0; if (i == j) { scaleMat(i, j) = 1.0; } } } scaleMat(2, 2) = exp(dt * eta(2, 2)); Mat3x3d hmat = snap->getHmat(); hmat = hmat * sc...
pushq %r15 pushq %r14 pushq %rbx subq $0xe0, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 leaq 0x98(%rsp), %rax movaps %xmm0, 0x28(%rax) movaps %xmm0, 0x18(%rax) movaps %xmm0, 0x8(%rax) movaps %xmm0, -0x8(%rax) xorl %ecx, %ecx movdqa 0x10679e(%rip), %xmm0 # 0x18e910 movdqa 0x1067a6(%rip), %xmm1 # 0x18e920 movdqa 0x10a69...
/OpenMD[P]OpenMD/src/integrators/NPA.cpp
OpenMD::NPA::~NPA()
NPA(SimInfo* info) : NPT(info) {}
pushq %rbx movq %rdi, %rbx leaq 0x171c25(%rip), %rax # 0x1fa1f8 addq $0x10, %rax movq %rax, (%rdi) movq 0x180(%rdi), %rdi testq %rdi, %rdi je 0x885f5 movq 0x190(%rbx), %rsi subq %rdi, %rsi callq 0x1b540 movq 0x168(%rbx), %rdi testq %rdi, %rdi je 0x88610 movq 0x178(%rbx), %rsi subq %rdi, %rsi callq 0x1b540 movq 0x150...
/OpenMD[P]OpenMD/src/integrators/NPA.hpp
OpenMD::NPAT::evolveEtaB()
void NPAT::evolveEtaB() { prevEta_ = eta; eta(axis_, axis_) = oldEta_(axis_, axis_) + dt2 * instaVol * (press(axis_, axis_) - targetPressure / Constants::pressureConvert) / (NkBT * tb2); }
leaq 0x208(%rdi), %rax leaq 0x298(%rdi), %rcx xorl %edx, %edx xorl %esi, %esi movsd -0x90(%rcx,%rsi,8), %xmm0 movsd %xmm0, (%rcx,%rsi,8) incq %rsi cmpq $0x3, %rsi jne 0x888ac incq %rdx addq $0x18, %rcx cmpq $0x3, %rdx jne 0x888aa movl 0x328(%rdi), %ecx leaq (,%rcx,8), %rdx leaq (%rdx,%rdx,2), %rdx movsd 0x10(%rdi), %xm...
/OpenMD[P]OpenMD/src/integrators/NPAT.cpp
OpenMD::NPrT::evolveEtaB()
void NPrT::evolveEtaB() { Mat3x3d hmat = snap->getHmat(); RealType hz = hmat(axis_, axis_); RealType Axy = hmat(axis1_, axis1_) * hmat(axis2_, axis2_); prevEta_ = eta; RealType sx = -hz * (press(axis1_, axis1_) - targetPressure / Cons...
pushq %rbx subq $0x50, %rsp movq %rdi, %rbx movq 0xe0(%rdi), %rsi leaq 0x8(%rsp), %rdi callq 0x7dbbc movl 0x330(%rbx), %eax movl 0x334(%rbx), %esi leaq (%rax,%rax,2), %rcx leaq (%rsp,%rcx,8), %rcx addq $0x8, %rcx movsd (%rcx,%rax,8), %xmm1 leaq (%rsi,%rsi,2), %rcx leaq 0x8(%rsp,%rcx,8), %rcx movsd (%rcx,%rsi,8), %xmm0 ...
/OpenMD[P]OpenMD/src/integrators/NPrT.cpp
OpenMD::NPT::moveB()
void NPT::moveB(void) { SimInfo::MoleculeIterator i; Molecule::IntegrableObjectIterator j; Molecule* mol; StuntDouble* sd; int index; Vector3d Tb; Vector3d ji; Vector3d sc; Vector3d vel; Vector3d frc; RealType mass; thermostat = snap->getThermostat(); RealType o...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x158, %rsp # imm = 0x158 movq %rdi, %rbx xorl %r15d, %r15d leaq 0x20(%rsp), %r14 movq %r15, (%r14) movq %r15, 0x100(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0xf0(%rsp) movq %r15, 0xe0(%rsp) movapd %xmm0, 0xd0(%rsp) movq %r15, 0xc0(%rsp) m...
/OpenMD[P]OpenMD/src/integrators/NPT.cpp
OpenMD::NPTf::scaleSimBox()
void NPTf::scaleSimBox() { int i; int j; int k; Mat3x3d scaleMat; RealType eta2ij; RealType bigScale, smallScale, offDiagMax; Mat3x3d hm; Mat3x3d hmnew; // Scale the box after all the positions have been moved: // Use a taylor expansion for eta products: Hmat = Hmat . exp(dt *...
pushq %r14 pushq %rbx subq $0x138, %rsp # imm = 0x138 movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, 0x80(%rsp) movaps %xmm0, 0x70(%rsp) movaps %xmm0, 0x60(%rsp) movaps %xmm0, 0x50(%rsp) movq $0x0, 0x90(%rsp) leaq 0x208(%rdi), %rax movsd 0x8(%rdi), %xmm0 movsd 0x103f4f(%rip), %xmm2 # 0x18f6e0 mulsd %xmm0...
/OpenMD[P]OpenMD/src/integrators/NPTf.cpp
OpenMD::NPTf::loadEta()
void NPTf::loadEta() { eta = snap->getBarostat(); // if (!eta.isDiagonal()) { // snprintf( painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, // "NPTf error: the diagonal elements of eta matrix are not the // same or etaMat is not a diagonal matrix"); // painCave.isFatal =...
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq 0xe0(%rdi), %rsi movq %rsp, %r14 movq %r14, %rdi callq 0x7edfe addq $0x208, %rbx # imm = 0x208 cmpq %r14, %rbx je 0x8be6e xorl %eax, %eax movq 0x10(%rsp,%rax), %rcx movq %rcx, 0x10(%rbx,%rax) movups (%rsp,%rax), %xmm0 movups %xmm0, (%rbx,%rax) addq ...
/OpenMD[P]OpenMD/src/integrators/NPTf.cpp
OpenMD::NPTi::scaleSimBox()
void NPTi::scaleSimBox() { RealType scaleFactor; scaleFactor = exp(dt * eta); if ((scaleFactor > 1.1) || (scaleFactor < 0.9)) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "NPTi error: Attempting a Box scaling of more than 10 percent" " check your tauBarostat, a...
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx movsd 0x8(%rdi), %xmm0 mulsd 0x208(%rdi), %xmm0 callq 0x1ba40 movapd %xmm0, %xmm1 ucomisd 0x1069fa(%rip), %xmm0 # 0x192bf0 ja 0x8c269 movsd 0x1069f8(%rip), %xmm0 # 0x192bf8 ucomisd %xmm1, %xmm0 ja 0x8c269 movq 0xe0(%rbx), %rsi leaq 0x10(%rsp), %r14 movq %r14, %...
/OpenMD[P]OpenMD/src/integrators/NPTi.cpp
OpenMD::NVE::moveA()
void NVE::moveA() { SimInfo::MoleculeIterator i; Molecule::IntegrableObjectIterator j; Molecule* mol; StuntDouble* sd; Vector3d vel; Vector3d pos; Vector3d frc; Vector3d Tb; Vector3d ji; RealType mass; for (mol = info_->beginMolecule(i); mol != NULL; mol = info_->ne...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdi, %rbx xorl %eax, %eax leaq 0x78(%rsp), %rsi movq %rax, (%rsi) movq %rax, 0x90(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0x80(%rsp) movq %rax, 0x30(%rsp) movapd %xmm0, 0x20(%rsp) movq 0x70(%rdi), %rdi callq 0x33966 testq %rax, %rax...
/OpenMD[P]OpenMD/src/integrators/NVE.cpp
OpenMD::NVT::moveA()
void NVT::moveA() { SimInfo::MoleculeIterator i; Molecule::IntegrableObjectIterator j; Molecule* mol; StuntDouble* sd; Vector3d Tb; Vector3d ji; RealType mass; Vector3d vel; Vector3d pos; Vector3d frc; pair<RealType, RealType> thermostat = snap->getThermostat(); // We n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rdi, %rbx xorl %eax, %eax leaq 0xe8(%rsp), %r14 movq %rax, (%r14) movq %rax, 0x100(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0xf0(%rsp) movq %rax, 0x40(%rsp) movapd %xmm0, 0x30(%rsp) movq 0xe0(%rdi), %rdi cal...
/OpenMD[P]OpenMD/src/integrators/NVT.cpp
OpenMD::NVT::calcConservedQuantity()
RealType NVT::calcConservedQuantity() { pair<RealType, RealType> thermostat = snap->getThermostat(); RealType conservedQuantity; RealType fkBT; RealType Energy; RealType thermostat_kinetic; RealType thermostat_potential; fkBT = info_->getNdf() * Constants::kB * targetTemp_; Energy = th...
pushq %rbp pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movq 0xe0(%rdi), %rdi callq 0x7ed98 movaps %xmm0, 0x10(%rsp) movaps %xmm1, 0x20(%rsp) movq 0x70(%rbx), %rdi movl 0x80(%rdi), %ebp callq 0x33aea subl %eax, %ebp xorps %xmm0, %xmm0 cvtsi2sd %ebp, %xmm0 mulsd 0x1048d1(%rip), %xmm0 # 0x192790 leaq 0xd8(%rbx), %rdi mu...
/OpenMD[P]OpenMD/src/integrators/NVT.cpp
OpenMD::SimpleTypeData<double>::~SimpleTypeData()
SimpleTypeData(const std::string& id) : GenericData(id), data_(ElemDataType()) {}
pushq %rbx movq %rdi, %rbx leaq 0x16ad61(%rip), %rax # 0x1f9570 movq %rax, (%rdi) movq 0x8(%rdi), %rdi leaq 0x18(%rbx), %rax cmpq %rax, %rdi je 0x8e82a movq (%rax), %rsi incq %rsi callq 0x1b540 movl $0x30, %esi movq %rbx, %rdi popq %rbx jmp 0x1b540
/OpenMD[P]OpenMD/src/utils/GenericData.hpp
OpenMD::ChargeAtomTypesSectionParser::ChargeAtomTypesSectionParser(OpenMD::ForceFieldOptions&)
ChargeAtomTypesSectionParser::ChargeAtomTypesSectionParser( ForceFieldOptions& options) : options_(options) { setSectionName("ChargeAtomTypes"); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx leaq 0x18(%rdi), %r15 movq %r15, 0x8(%rdi) movq $0x0, 0x10(%rdi) movb $0x0, 0x18(%rdi) leaq 0x16b873(%rip), %rax # 0x1fa9b0 movq %rax, (%rdi) movq %rsi, 0x28(%rdi) leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x1042a4(%rip), %rsi # ...
/OpenMD[P]OpenMD/src/io/ChargeAtomTypesSectionParser.cpp
OpenMD::DirectionalAtomTypesSectionParser::parseLine(OpenMD::ForceField&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
void DirectionalAtomTypesSectionParser::parseLine(ForceField& ff, const std::string& line, int lineNo) { StringTokenizer tokenizer(line); int nTokens = tokenizer.countTokens(); // in DirectionalAtomTypeS...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %ecx, %ebp movq %rdx, %r14 movq %rsi, %rbx leaq 0x20(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xff844(%rip), %rsi # 0x18ed25 leaq 0xff842(%rip), %rdx # 0x18ed2a leaq 0x10(%rsp), %rdi callq 0x2fd4c leaq 0x78(%rsp), %rdi le...
/OpenMD[P]OpenMD/src/io/DirectionalAtomTypesSectionParser.cpp
OpenMD::EAMAtomTypesSectionParser::parseFuncflFile(OpenMD::ForceField&, OpenMD::EAMAdapter, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
void EAMAtomTypesSectionParser::parseFuncflFile(ForceField& ff, EAMAdapter ea, const string& funcflFile, int) { ifstrstream* ppfStream = ff.openForceFieldFile(funcflFile); const int bufferSize = 65535; char...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x101b8, %rsp # imm = 0x101B8 movq %rdi, %r14 movq %rdx, 0x170(%rsp) movq %rsi, %rdi movq %rcx, %rsi callq 0x6c514 movq %rax, %rbx movq (%rax), %rax movq -0x18(%rax), %rdi addq %rbx, %rdi movl $0xa, %esi callq 0x1b4f0 movsbl %al, %ecx leaq...
/OpenMD[P]OpenMD/src/io/EAMAtomTypesSectionParser.cpp
OpenMD::FluctuatingChargeAtomTypesSectionParser::FluctuatingChargeAtomTypesSectionParser(OpenMD::ForceFieldOptions&)
FluctuatingChargeAtomTypesSectionParser:: FluctuatingChargeAtomTypesSectionParser(ForceFieldOptions& options) : options_(options) { setSectionName("FluctuatingChargeAtomTypes"); stringToEnumMap_["Hardness"] = fqtHardness; stringToEnumMap_["EAM"] = fqtEAM; stringToEnumMap_["EAMPoly"] =...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x18(%rdi), %r12 movq %r12, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) movb $0x0, 0x18(%rdi) leaq 0x16761b(%rip), %rcx # 0x1faa88 movq %rcx, (%rdi) leaq 0x28(%rdi), %r14 leaq 0x30(%rdi), %rcx movl $0x0, 0x30(%rdi) movq ...
/OpenMD[P]OpenMD/src/io/FluctuatingChargeAtomTypesSectionParser.cpp
OpenMD::RigidBody::updateAtoms(int)
void RigidBody::updateAtoms(int frame) { unsigned int i; Vector3d ref; Vector3d apos; DirectionalAtom* dAtom; Vector3d pos = getPos(frame); RotMat3x3d a = getA(frame); for (i = 0; i < atoms_.size(); i++) { ref = body2Lab(refCoords_[i], frame); apos = pos + ref; atoms_[i]...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x148, %rsp # imm = 0x148 movl %esi, %ebx movq %rdi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, 0x70(%rsp) movq $0x0, 0x80(%rsp) movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x20(%rax) movq 0x10(%r14), %rcx movslq 0x30(%r14), %rdx movq (%ra...
/OpenMD[P]OpenMD/src/primitives/RigidBody.cpp
OpenMD::RigidBody::getAtomVel(OpenMD::Vector3<double>&, OpenMD::Atom*)
bool RigidBody::getAtomVel(Vector3d& vel, Atom* atom) { std::vector<Atom*>::iterator i; i = std::find(atoms_.begin(), atoms_.end(), atom); if (i != atoms_.end()) { return getAtomVel(vel, i - atoms_.begin()); } else { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "Atom %d...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movq %rdx, (%rax) movq 0x128(%rdi), %rdi movq 0x130(%rbx), %rsi movq %rax, %rdx callq 0x7a3b2 cmpq 0x130(%rbx), %rax je 0xcb2d7 subq 0x128(%rbx), %rax shrq $0x3, %rax movq %rbx, %rdi movq %r14, %rsi movl %eax, %edx callq 0xcaf18 movl %eax,...
/OpenMD[P]OpenMD/src/primitives/RigidBody.cpp
OpenMD::Polynomial<double>::evaluateDerivative(double const&)
Real evaluateDerivative(const Real& x) { Real result = Real(); ExponentType exponent; CoefficientType coefficient; for (iterator i = polyPairMap_.begin(); i != polyPairMap_.end(); ++i) { exponent = i->first; coefficient = i->second; result += fastpow(x, exponent - 1) ...
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq 0x18(%rdi), %rax addq $0x8, %rbx cmpq %rbx, %rax je 0xd1d48 movsd (%rsi), %xmm1 xorpd %xmm0, %xmm0 movsd %xmm0, (%rsp) movsd %xmm1, 0x8(%rsp) movl 0x20(%rax), %ecx movsd 0xbc31b(%rip), %xmm0 # 0x18e018 cmpl $0x2, %ecx jl 0xd1d15 leal -0x1(%rcx), %edx movsd 0xbc30b(%ri...
/OpenMD[P]OpenMD/src/math/Polynomial.hpp
OpenMD::CosineSeriesBendType::calcForce(double, double&, double&)
void calcForce(RealType theta, RealType& V, RealType& dVdtheta) { RealType ct = cos(theta); RealType st = sin(theta); // use cos 2t = (2 cos^2 - 1) V = k_ * (c0_ + c1_ * ct + c2_ * (2.0 * ct * ct - 1.0)); dVdtheta = -k_ * (c1_ * st + 2.0 * c2_ * sin(2.0 * theta)); }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdx, %rbx movq %rsi, %r15 movsd %xmm0, 0x8(%rsp) movq %rdi, %r14 callq 0x1bac0 movsd %xmm0, 0x10(%rsp) movsd 0x8(%rsp), %xmm0 callq 0x1b0f0 movsd 0x20(%r14), %xmm1 movsd 0x10(%rsp), %xmm3 mulsd %xmm3, %xmm1 addsd 0x18(%r14), %xmm1 movapd %xmm0, %xmm2 movapd %xmm3,...
/OpenMD[P]OpenMD/src/types/CosineSeriesBendType.hpp
OpenMD::operator<<(std::ostream&, OpenMD::PolynomialBondType&)
std::ostream& operator<<(std::ostream& os, PolynomialBondType& pbt) { DoublePolynomial::const_iterator i; i = pbt.polynomial_.begin(); if (i == pbt.polynomial_.end()) { os << "This PolynomialBondType contains nothing" << std::endl; return os; } os << "This PolynomialBondType contains ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x28(%rsi), %r15 leaq 0x18(%rsi), %rbp cmpq %rbp, %r15 je 0xd2a13 movq %rsi, %r14 leaq 0xc36f0(%rip), %rsi # 0x196025 movl $0x2d, %edx movq %rbx, %rdi callq 0x1b620 movq (%rbx), %rax movq -0x18(%rax), %rdi addq %rbx, %...
/OpenMD[P]OpenMD/src/types/PolynomialBondType.hpp
OpenMD::BondTypeParser::parseTypeAndPars(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<double, std::allocator<double>>)
BondType* BondTypeParser::parseTypeAndPars(const std::string& type, std::vector<RealType> pars) { std::string line(type); std::vector<RealType>::iterator it; for (it = pars.begin(); it != pars.end(); ++it) { line.append("\t"); line.append(std::to_str...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r14 movq %rdi, 0x40(%rsp) leaq 0x10(%rsp), %rax movq %rax, -0x10(%rax) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx movq %rsp, %rdi movq %rax, %rsi callq 0x2fe2e movq (%r14), %r15 cmpq 0x8(%r14), %r15 je 0xd2d54 mov...
/OpenMD[P]OpenMD/src/types/BondTypeParser.cpp
OpenMD::EAMAdapter::getF0()
RealType EAMAdapter::getF0() { ZhouParameters zhouParam = getZhouParam(); return zhouParam.F0; }
pushq %rbx subq $0x120, %rsp # imm = 0x120 movq %rdi, %rsi leaq 0x10(%rsp), %rbx movq %rbx, %rdi callq 0xd5808 movsd 0x108(%rbx), %xmm0 movsd %xmm0, 0x8(%rsp) leaq 0x100(%rsp), %rbx movq %rbx, %rdi callq 0x93036 movq -0x18(%rbx), %rdi testq %rdi, %rdi je 0xd8c6b movq 0xf8(%rsp), %rsi subq %rdi, %rsi callq 0x...
/OpenMD[P]OpenMD/src/types/EAMAdapter.cpp
OpenMD::FluctuatingChargeAdapter::makeFluctuatingCharge(double, double, double, int, double)
void FluctuatingChargeAdapter::makeFluctuatingCharge( RealType chargeMass, RealType electronegativity, RealType hardness, int slaterN, RealType slaterZeta) { if (isFluctuatingCharge()) { at_->removeProperty(FQtypeID); } FluctuatingAtypeParameters fqParam {}; fqParam.chargeMass = c...
pushq %rbp pushq %r14 pushq %rbx subq $0xc0, %rsp movsd %xmm3, 0x38(%rsp) movl %esi, %ebp movsd %xmm2, 0x20(%rsp) movsd %xmm1, 0x28(%rsp) movsd %xmm0, 0x30(%rsp) movq %rdi, %r14 movq (%rdi), %rdi leaq 0x12a60e(%rip), %rsi # 0x204788 callq 0xced10 testb %al, %al je 0xda192 movq (%r14), %rdi leaq 0x12a5fb(%rip), %rsi ...
/OpenMD[P]OpenMD/src/types/FluctuatingChargeAdapter.cpp
OpenMD::FragmentStamp::validate()
void FragmentStamp::validate() { DataHolder::validate(); CheckParameter(Name, isNotEmpty()); atom2Rigidbody.resize(getNAtoms()); // A negative number means the atom is a free atom, and does not // belong to rigidbody. Every element in atom2Rigidbody has unique // negative number at the very be...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %rbx callq 0x7101a cmpb $0x0, 0x92(%rbx) jne 0xdb656 movq %rsp, %rdi callq 0xb75e4 leaq 0x30(%rsp), %r12 movq %r12, -0x10(%r12) movq 0x98(%rbx), %rsi movq 0xa0(%rbx), %rdx addq %rsi, %rdx leaq 0x20(%rsp), %rdi callq 0x2fe2e movq 0x20(%rs...
/OpenMD[P]OpenMD/src/types/FragmentStamp.cpp
OpenMD::StringTokenizer::nextTokenAsDouble()
RealType StringTokenizer::nextTokenAsDouble() { std::string token = nextToken(); convertFortranNumber(token); return atof(token.c_str()); }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0xf1de6 movq (%r14), %rbx movq 0x8(%r14), %rax testq %rax, %rax je 0xf21ec movq %rbx, %rcx movzbl (%rcx), %edx orl $0x20, %edx cmpl $0x64, %edx jne 0xf21e0 movb $0x45, (%rcx) movq 0x8(%rsp), %rbx movq 0x10(%rsp), %rax incq...
/OpenMD[P]OpenMD/src/utils/StringTokenizer.cpp
OpenMD::UpperCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string UpperCase(const std::string& S) { std::string uc = S; unsigned int n = uc.size(); for (unsigned int j = 0; j < n; j++) { char sj = uc[j]; if (sj >= 'a' && sj <= 'z') uc[j] = (char)(sj - ('a' - 'A')); } return uc; }
pushq %rbx movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi callq 0x2fe2e movl 0x8(%rbx), %eax testq %rax, %rax je 0xf261c movq (%rbx), %rcx xorl %edx, %edx movb (%rcx,%rdx), %sil leal -0x61(%rsi), %edi cmpb $0x19, %dil ja 0xf2614 addb $-0x20...
/OpenMD[P]OpenMD/src/utils/StringUtils.cpp
OpenMD::isEndLine(char*)
int isEndLine(char* line) { char* working_line; char* foo; working_line = strdup(line); foo = strtok(working_line, " ,;\t"); if (foo != NULL) { if (!strcasecmp(foo, "end")) { free(working_line); return 1; } } free(working_line); return 0; }
pushq %rbp pushq %rbx pushq %rax callq 0x1ba70 movq %rax, %rbx leaq 0xa5d2a(%rip), %rsi # 0x19848d movq %rax, %rdi callq 0x1b8a0 testq %rax, %rax je 0xf2783 leaq 0x9e17c(%rip), %rsi # 0x1908f3 movq %rax, %rdi callq 0x1b5b0 testl %eax, %eax je 0xf2787 xorl %ebp, %ebp jmp 0xf278c movl $0x1, %ebp movq %rbx, %rdi c...
/OpenMD[P]OpenMD/src/utils/StringUtils.cpp
OpenMD::DataStorage::DataStorage(unsigned long, int)
DataStorage::DataStorage(std::size_t size, int storageLayout) : size_(size) { setStorageLayout(storageLayout); resize(size); }
pushq %rbp pushq %r14 pushq %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movl $0x1b0, %edx # imm = 0x1B0 xorl %esi, %esi callq 0x1b2b0 movq %r14, 0x1b0(%rbx) movl %ebp, 0x1b8(%rbx) movq %rbx, %rdi movq %r14, %rsi callq 0xfc012 movq %rbx, %rdi movq %r14, %rsi callq 0xfc012 popq %rbx popq %r14 popq %rb...
/OpenMD[P]OpenMD/src/brains/DataStorage.cpp
QuantLib::ArmijoLineSearch::operator()(QuantLib::Problem&, QuantLib::EndCriteria::Type&, QuantLib::EndCriteria const&, double)
RealType ArmijoLineSearch::operator()(Problem& P, EndCriteria::Type& ecType, const EndCriteria& endCriteria, const RealType t_ini) { // OptimizationMethod& method = P.method(); Constraint& constraint = P.constraint(); succeed_ ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movsd %xmm0, (%rsp) movq %rcx, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rax movq %rax, 0x20(%rsp) movb $0x1, 0x60(%rdi) movsd 0x28(%rsi), %xmm1 movsd 0x30(%rsi), %xmm0 movsd %xmm1, 0x18(%rsp) movs...
/OpenMD[P]OpenMD/src/optimization/Armijo.cpp
QuantLib::EndCriteria::operator()(unsigned long, unsigned long&, bool, double, double, double, double, QuantLib::EndCriteria::Type&) const
bool EndCriteria::operator()(const size_t iteration, size_t& statStateIterations, const bool positiveOptimization, const RealType fold, const RealType, // normgold, ...
movl $0x1, %eax cmpq %rsi, (%rdi) jbe 0x100ef4 movapd %xmm2, %xmm1 subsd %xmm0, %xmm1 andpd 0x8e30c(%rip), %xmm1 # 0x18f1c0 ucomisd 0x18(%rdi), %xmm1 jae 0x100ed1 movq (%rdx), %rsi incq %rsi movq %rsi, (%rdx) movl $0x3, %eax cmpq 0x8(%rdi), %rsi jbe 0x100ed8 jmp 0x100ef4 movq $0x0, (%rdx) testb %cl, %cl je 0x100ee8 ...
/OpenMD[P]OpenMD/src/optimization/EndCriteria.cpp
QuantLib::LineSearch::update(OpenMD::DynamicVector<double, std::allocator<double>>&, OpenMD::DynamicVector<double, std::allocator<double>> const&, double, QuantLib::Constraint const&)
RealType LineSearch::update(DynamicVector<RealType>& params, const DynamicVector<RealType>& direction, RealType beta, const Constraint& constraint) { RealType diff = beta; DynamicVector<RealType> newParams = params + diff * directio...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %rbx leaq 0x10(%rsp), %rdi movsd %xmm0, 0x28(%rsp) movq %rdx, %rsi callq 0xbd9d5 movq 0x8(%rbx), %rsi subq (%rbx), %rsi sarq $0x3, %rsi leaq 0x30(%rsp), %rdi leaq 0x50(%rsp), %rdx callq 0xbd800 ...
/OpenMD[P]OpenMD/src/optimization/LineSearch.cpp
OpenMD::Stats::parseStatFileFormat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Stats::parseStatFileFormat(const std::string& format) { StringTokenizer tokenizer(format, " ,;|\t\n\r"); while (tokenizer.hasMoreTokens()) { std::string token(tokenizer.nextToken()); toUpper(token); StatsMapType::iterator i = statsMap_.find(token); if (i != statsMap_.end()) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rsi, %r14 movq %rdi, 0x20(%rsp) leaq 0x10(%rsp), %rax movq %rax, -0x10(%rax) leaq 0x8fade(%rip), %rsi # 0x198713 leaq 0x8fade(%rip), %rdx # 0x19871a movq %rsp, %rdi callq 0x2fd4c leaq 0x30(%rsp), %rdi movq %rsp, %rdx movq %...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getUnits[abi:cxx11](int)
std::string Stats::getUnits(int index) { assert(index >= 0 && index < ENDINDEX); return data_[index].units; }
pushq %rbx movq %rdi, %rbx movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax leaq 0x10(%rdi), %rdx movq %rdx, (%rdi) movq 0x20(%rcx,%rax), %rsi movq 0x28(%rcx,%rax), %rdx addq %rsi, %rdx callq 0x2fe2e movq %rbx, %rax popq %rbx retq nop
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getDataType[abi:cxx11](int)
std::string Stats::getDataType(int index) { assert(index >= 0 && index < ENDINDEX); return data_[index].dataType; }
pushq %rbx movq %rdi, %rbx movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax leaq 0x10(%rdi), %rdx movq %rdx, (%rdi) movq 0x40(%rcx,%rax), %rsi movq 0x48(%rcx,%rax), %rdx addq %rsi, %rdx callq 0x2fe2e movq %rbx, %rax popq %rbx retq nop
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getPotVecData(int)
potVec Stats::getPotVecData(int index) { assert(index >= 0 && index < ENDINDEX); potVec value; dynamic_cast<PotVecAccumulator*>(data_[index].accumulator) ->getLastValue(value); return value; }
pushq %rbx movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rdi) movups %xmm0, 0x10(%rdi) movups %xmm0, (%rdi) movq $0x0, 0x30(%rdi) movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax movq 0x60(%rcx,%rax), %rdi leaq 0xf30d7(%rip), %rsi # 0x1fcf98 leaq 0xf3128(%rip), %rdx # 0x1fcff0 xorl %ecx, %ecx ca...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getArrayData(int)
std::vector<RealType> Stats::getArrayData(int index) { assert(index >= 0 && index < ENDINDEX); std::vector<RealType> value; RealType v; for (unsigned int i = 0; i < data_[index].accumulatorArray2d.size(); ++i) { dynamic_cast<Accumulator*>(data_[index].accumulatorArray2d[i]) ->getLastValu...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movslq %edx, %rbp movq %rsi, 0x8(%rsp) movq 0x18(%rsi), %r14 shlq $0x7, %rbp movq 0x68(%r14,%rbp), %rax cmpq %rax, 0x70(%r14,%rbp) je 0x10a025 movl $0x1, %r13d...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getVectorAverage(int)
Vector3d Stats::getVectorAverage(int index) { assert(index >= 0 && index < ENDINDEX); Vector3d value; dynamic_cast<VectorAccumulator*>(data_[index].accumulator) ->getAverage(value); return value; }
pushq %rbx movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax movq 0x60(%rcx,%rax), %rdi leaq 0xf2ebd(%rip), %rsi # 0x1fcf98 leaq 0xf2ef6(%rip), %rdx # 0x1fcfd8 xorl %ecx, %ecx callq 0x1b600 addq $0x28, %rax cmpq %rbx, %rax je 0x...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getPotVecAverage(int)
potVec Stats::getPotVecAverage(int index) { assert(index >= 0 && index < ENDINDEX); potVec value; dynamic_cast<PotVecAccumulator*>(data_[index].accumulator) ->getAverage(value); return value; }
pushq %rbx movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rdi) movups %xmm0, 0x10(%rdi) movups %xmm0, (%rdi) movq $0x0, 0x30(%rdi) movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax movq 0x60(%rcx,%rax), %rdi leaq 0xf2e5b(%rip), %rsi # 0x1fcf98 leaq 0xf2eac(%rip), %rdx # 0x1fcff0 xorl %ecx, %ecx ca...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getMatrixAverage(int)
Mat3x3d Stats::getMatrixAverage(int index) { assert(index >= 0 && index < ENDINDEX); Mat3x3d value; dynamic_cast<MatrixAccumulator*>(data_[index].accumulator) ->getAverage(value); return value; }
pushq %rbx movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 0x30(%rdi) movups %xmm0, 0x20(%rdi) movups %xmm0, 0x10(%rdi) movups %xmm0, (%rdi) movq $0x0, 0x40(%rdi) movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax movq 0x60(%rcx,%rax), %rdi leaq 0xf2df5(%rip), %rsi # 0x1fcf98 leaq 0xf2e16(%rip), %rdx # 0x...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getVectorError(int)
Vector3d Stats::getVectorError(int index) { assert(index >= 0 && index < ENDINDEX); Vector3d value; dynamic_cast<VectorAccumulator*>(data_[index].accumulator) ->get95percentConfidenceInterval(value); return value; }
pushq %rbx movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax movq 0x60(%rcx,%rax), %rdi leaq 0xf2ba5(%rip), %rsi # 0x1fcf98 leaq 0xf2bde(%rip), %rdx # 0x1fcfd8 xorl %ecx, %ecx callq 0x1b600 movq %rax, %rdi movq %rbx, %rsi callq ...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getPotVecError(int)
potVec Stats::getPotVecError(int index) { assert(index >= 0 && index < ENDINDEX); potVec value; dynamic_cast<PotVecAccumulator*>(data_[index].accumulator) ->get95percentConfidenceInterval(value); return value; }
pushq %rbx movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rdi) movups %xmm0, 0x10(%rdi) movups %xmm0, (%rdi) movq $0x0, 0x30(%rdi) movslq %edx, %rax movq 0x18(%rsi), %rcx shlq $0x7, %rax movq 0x60(%rcx,%rax), %rdi leaq 0xf2b55(%rip), %rsi # 0x1fcf98 leaq 0xf2ba6(%rip), %rdx # 0x1fcff0 xorl %ecx, %ecx ca...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getArrayError(int)
std::vector<RealType> Stats::getArrayError(int index) { assert(index >= 0 && index < ENDINDEX); std::vector<RealType> value; RealType v; for (unsigned int i = 0; i < data_[index].accumulatorArray2d.size(); ++i) { dynamic_cast<Accumulator*>(data_[index].accumulatorArray2d[i]) ->get95perce...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx xorpd %xmm0, %xmm0 movupd %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movslq %edx, %rbp movq %rsi, 0x8(%rsp) movq 0x18(%rsi), %r14 shlq $0x7, %rbp movq 0x68(%r14,%rbp), %rax cmpq %rax, 0x70(%r14,%rbp) je 0x10a5c3 movl $0x1, %r13d...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::Stats::getStatsReport[abi:cxx11]()
std::string Stats::getStatsReport() { std::stringstream report; #if defined(_MSC_VER) std::string pm = " +/- "; std::string luc = "["; std::string lex = "|"; std::string llc = "["; std::string ruc = "]"; std::string rex = "|"; std::string rlc = "]"; #else std::string pm = " \u00B1...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x378, %rsp # imm = 0x378 movq %rsi, 0x68(%rsp) movq %rdi, %r14 leaq 0x1b8(%rsp), %rdi callq 0x1b370 leaq 0x140(%rsp), %rax movq %rax, -0x10(%rax) leaq 0x8ed24(%rip), %rsi # 0x19936f leaq 0x8ed23(%rip), %rdx # 0x199375 leaq 0x130...
/OpenMD[P]OpenMD/src/brains/Stats.cpp
OpenMD::VectorAccumulator::add(OpenMD::Vector3<double> const&)
void add(ElementType const& val) { Count_++; RealType len(0.0); for (unsigned int i = 0; i < 3; i++) { Avg_[i] += (val[i] - Avg_[i]) / Count_; Avg2_[i] += (val[i] * val[i] - Avg2_[i]) / Count_; Val_[i] = val[i]; Total_[i] += val[i]; len += val[i] * val[i]; ...
pushq %rbx movq %rdi, %rbx movq 0x8(%rdi), %rax incq %rax movq %rax, %xmm0 punpckldq 0x85dbe(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1] movq %rax, 0x8(%rdi) subpd 0x85dc2(%rip), %xmm0 # 0x1925d0 movapd %xmm0, %xmm1 unpckhpd %xmm0, %xmm1 # xmm1 = xmm1[1],xmm0[1] addsd %xmm0, %xmm1 xorpd %xmm0, %xm...
/OpenMD[P]OpenMD/src/utils/OldAccumulator.hpp
OpenMD::PotVecAccumulator::add(OpenMD::Vector<double, 7u> const&)
void add(ElementType const& val) { Count_++; RealType len(0.0); for (unsigned int i = 0; i < N_INTERACTION_FAMILIES; i++) { Avg_[i] += (val[i] - Avg_[i]) / Count_; Avg2_[i] += (val[i] * val[i] - Avg2_[i]) / Count_; Val_[i] = val[i]; Total_[i] += val[i]; len += v...
pushq %rbx movq %rdi, %rbx movq 0x8(%rdi), %rax incq %rax movq %rax, %xmm0 punpckldq 0x85c5e(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1] movq %rax, 0x8(%rdi) subpd 0x85c62(%rip), %xmm0 # 0x1925d0 movapd %xmm0, %xmm1 unpckhpd %xmm0, %xmm1 # xmm1 = xmm1[1],xmm0[1] addsd %xmm0, %xmm1 xorpd %xmm0, %xm...
/OpenMD[P]OpenMD/src/utils/OldAccumulator.hpp
OpenMD::MatrixAccumulator::get95percentConfidenceInterval(OpenMD::SquareMatrix3<double>&)
void get95percentConfidenceInterval(ResultType& ret) { assert(Count_ != 0); Mat3x3d sd; this->getStdDev(sd); for (unsigned int i = 0; i < 3; i++) { for (unsigned int j = 0; j < 3; j++) { ret(i, j) = 1.960 * sd(i, j) / sqrt(RealType(Count_)); } } return; ...
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rsi, %rbx movq %rdi, %r15 xorps %xmm0, %xmm0 movq %rsp, %r14 movaps %xmm0, 0x30(%r14) movaps %xmm0, 0x20(%r14) movaps %xmm0, 0x10(%r14) movaps %xmm0, (%r14) movq $0x0, 0x40(%r14) movq %r14, %rsi callq 0x10d182 movsd 0x8(%r15), %xmm0 unpcklps 0x859af(%rip), %xmm0 ...
/OpenMD[P]OpenMD/src/utils/OldAccumulator.hpp
OpenMD::VectorAccumulator::clear()
void clear() { Count_ = 0; Avg_ = V3Zero; Avg2_ = V3Zero; Total_ = V3Zero; Val_ = V3Zero; AvgLen_ = 0; AvgLen2_ = 0; }
movq $0x0, 0x8(%rdi) leaq 0x28(%rdi), %rcx leaq 0xf812b(%rip), %rax # 0x2050c8 cmpq %rax, %rcx je 0x10cfb7 movq 0xf812f(%rip), %rdx # 0x2050d8 movq %rdx, 0x10(%rcx) movups 0xf8114(%rip), %xmm0 # 0x2050c8 movups %xmm0, (%rcx) leaq 0x40(%rdi), %rcx cmpq %rax, %rcx je 0x10cfd5 movq 0xf8111(%rip), %rdx # 0x2...
/OpenMD[P]OpenMD/src/utils/OldAccumulator.hpp
OpenMD::ForceManager::setupCutoffs()
void ForceManager::setupCutoffs() { Globals* simParams_ = info_->getSimParams(); int mdFileVersion; rCut_ = 0.0; // Needs a value for a later max() call; if (simParams_->haveMDfileVersion()) mdFileVersion = simParams_->getMDfileVersion(); else mdFileVersion = 0; // We need the lis...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdi, %rbx movq 0x18(%rdi), %rsi movq 0x10(%rsi), %r12 movq $0x0, 0x50(%rdi) cmpb $0x0, 0x12a2(%r12) je 0x1107f9 movl $0x0, 0x24(%rsp) jmp 0x110809 cmpl $0x2, 0x12a4(%r12) setge %al movl %eax, 0x24(%rsp) leaq 0x90(%rsp), %r15 movl $...
/OpenMD[P]OpenMD/src/brains/ForceManager.cpp
OpenMD::ForceManager::longRangeInteractions()
void ForceManager::longRangeInteractions() { Snapshot* curSnapshot = info_->getSnapshotManager()->getCurrentSnapshot(); fDecomp_->setSnapshot(curSnapshot); DataStorage* config = &(curSnapshot->atomData); DataStorage* cgConfig = &(curSnapshot->cgData); // calculate the center of mass of cutoff gr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x508, %rsp # imm = 0x508 movq %rdi, %r14 movq 0x18(%rdi), %rax movq 0x30(%rdi), %rdi movq 0x2f8(%rax), %rax movq 0x18(%rax), %rbx movq (%rdi), %rax movq %rbx, %rsi callq *0x10(%rax) movq $0x0, 0x198(%rsp) movq 0x18(%r14), %rdi movl 0x44...
/OpenMD[P]OpenMD/src/brains/ForceManager.cpp
OpenMD::ForceManager::selectedPostCalculation(OpenMD::Molecule*, OpenMD::Molecule*)
void ForceManager::selectedPostCalculation(Molecule* mol1, Molecule* mol2) { for (auto& forceModifier : forceModifiers_) forceModifier->modifyForces(); // Modify the rigid bodies in response to the applied force // modifications SimInfo::MoleculeIterator mi; Molecule::RigidBodyIterator rbIter...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx movq 0x208(%rdi), %r15 movq 0x210(%rdi), %r13 cmpq %r13, %r15 je 0x116cef movq (%r15), %rdi movq (%rdi), %rax callq *0x10(%rax) addq $0x8, %r15 jmp 0x116cdb movq 0x18(%rbx), %rax movq 0x2f8...
/OpenMD[P]OpenMD/src/brains/ForceManager.cpp
OpenMD::Bond::calcForce(bool)
void calcForce(bool doParticlePot) { RealType len; RealType dvdr; Vector3d r12; Vector3d force; r12 = atoms_[1]->getPos() - atoms_[0]->getPos(); snapshotMan_->getCurrentSnapshot()->wrapVector(r12); len = r12.length(); bondType_->calcForce(len, potential_, dvdr); f...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xb8, %rsp movl %esi, %ebx movq %rdi, %r14 xorl %eax, %eax movq %rax, 0x50(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0x40(%rsp) movq 0x10(%rdi), %rcx movq 0x8(%rcx), %rdx movq 0x10(%rdx), %rsi movq 0x18(%rdx), %rdi movq 0x18(%rdi), %rdi movslq 0x30(%rdx), %rdx movq (%rdi,%...
/OpenMD[P]OpenMD/src/primitives/Bond.hpp
OpenMD::Velocitizer::randomize(double)
void Velocitizer::randomize(RealType temperature) { Vector3d v; Vector3d j; Mat3x3d I; int l, m, n; Vector3d vdrift; RealType vbar; RealType jbar; RealType av2; RealType kebar; SimInfo::MoleculeIterator mi; Molecule::IntegrableObjectIterator ioi; Molecule* mol; Stunt...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movsd %xmm0, 0x8(%rsp) movq %rdi, %rbx xorpd %xmm0, %xmm0 movapd %xmm0, 0x40(%rsp) xorl %eax, %eax movq %rax, 0x50(%rsp) movq %rax, 0x30(%rsp) movapd %xmm0, 0x20(%rsp) movq %rax, 0xc0(%rsp) movapd %xmm0, 0xb0(%rsp) movapd %xmm0, 0xa0(%rs...
/OpenMD[P]OpenMD/src/brains/Velocitizer.cpp
OpenMD::ZConstraintForceModifier::modifyForces()
void ZConstraintForceModifier::modifyForces() { currSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot(); if (usingZconsGap_) { updateZPos(); } if (checkZConsState()) { calcTotalMassMovingZMols(); zeroVelocity(); } // do zconstraint force; if (haveFixedZMols()) { doZconst...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq 0x8(%rdi), %rax movq 0x2f8(%rax), %rax movq 0x18(%rax), %rax movq %rax, 0xe0(%rdi) cmpb $0x1, 0xa0(%rdi) jne 0x119e94 leaq 0x28(%rbx), %rax movq 0x28(%rbx), %rcx cmpq %rax, %rcx je 0x119e94 movsd 0x98(%rbx), %xmm0 movsd 0x18(%rcx), %xmm1 ...
/OpenMD[P]OpenMD/src/constraints/ZconstraintForceModifier.cpp
OpenMD::ZConstraintForceModifier::doZconstraintForce()
void ZConstraintForceModifier::doZconstraintForce() { RealType totalFZ(0.0); // Calculate the total z-contraint force on the fixed molecules: std::list<ZconstraintMol>::iterator i; Molecule* mol; StuntDouble* sd; Molecule::IntegrableObjectIterator ii; for (i = fixedZMols_.begin(); i != fi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x28(%rdi), %r15 movq 0x28(%rdi), %r12 xorpd %xmm1, %xmm1 cmpq %r15, %r12 je 0x11a4fe movq %r12, %rax movq 0x10(%rax), %rdx movq $0x0, 0x30(%rax) movq 0xa0(%rdx), %rcx movq 0xa8(%rdx), %rdx xorpd %xmm0, %xmm0 cmpq %r...
/OpenMD[P]OpenMD/src/constraints/ZconstraintForceModifier.cpp
OpenMD::LangevinPiston::scaleSimBox()
void LangevinPiston::scaleSimBox() { RealType scaleFactor; // This is from solving the first order equation that defines eta scaleFactor = exp(dt * eta); if ((scaleFactor > 1.1) || (scaleFactor < 0.9)) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "LangevinPiston error: At...
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx movsd 0x8(%rdi), %xmm0 mulsd 0x208(%rdi), %xmm0 callq 0x1ba40 movapd %xmm0, %xmm1 ucomisd 0x74a1e(%rip), %xmm0 # 0x192bf0 ja 0x11e245 movsd 0x74a1c(%rip), %xmm0 # 0x192bf8 ucomisd %xmm1, %xmm0 ja 0x11e245 movq 0xe0(%rbx), %rsi leaq 0x10(%rsp), %r14 movq %r14,...
/OpenMD[P]OpenMD/src/integrators/LangevinPiston.cpp
OpenMD::RNEMD::RNEMD::getDefaultDividingArea()
RealType RNEMD::getDefaultDividingArea() { if (hasDividingArea_) return dividingArea_; Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot(); if (hasSelectionA_) { if (evaluatorA_.hasSurfaceArea()) { areaA_ = evaluatorA_.getSurfaceArea(); volumeA_ = evaluatorA_.getVolu...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx cmpb $0x1, 0x1c61(%rdi) jne 0x12b627 movsd 0x1c68(%rbx), %xmm0 jmp 0x12ba0a movq 0x8(%rbx), %rax movq 0x2f8(%rax), %rax movq 0x18(%rax), %r14 cmpb $0x1, 0x15e0(%rbx) jne 0x12b66c leaq 0x9b0(%rbx), %r15 cmpb $0x1, 0xee2(%r...
/OpenMD[P]OpenMD/src/rnemd/RNEMD.cpp
OpenMD::Utils::Accumulator<std::vector<double, std::allocator<double>>>::add(std::vector<double, std::allocator<double>> const&)
void add(const std::vector<RealType>& val) { if (val.empty() || (val.size() != Avg_.size() && !Avg_.empty())) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "Size of vector passed to add() did not " "match the size of the StaticAccumulator."); painCave.isFa...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax movq 0x8(%rsi), %rsi cmpq %rsi, %rax je 0x12dc82 movq 0x38(%rbx), %rcx movq 0x40(%rbx), %rdx movq %rdx, %rdi subq %rcx, %rdi je 0x12dcbc movq %rsi, %r8 subq %rax, %r8 cmpq %rdi, %r8 je 0x12dcbc leaq 0xd23cb(%rip), %r15 # 0x200054 lea...
/OpenMD[P]OpenMD/src/utils/Accumulator.hpp
OpenMD::Utils::Accumulator<std::vector<double, std::allocator<double>>>::get95percentConfidenceInterval() const
std::vector<RealType> get95percentConfidenceInterval() const { std::vector<RealType> ci(Avg_.size()); std::vector<RealType> stdDev = this->getStdDev(); for (std::size_t i = 0; i < stdDev.size(); i++) { ci[i] = 1.960 * stdDev[i] / std::sqrt(static_cast<RealType>(Count_)); } return...
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x40(%rsi), %rsi subq 0x38(%r14), %rsi sarq $0x3, %rsi movq %rsp, %rdx callq 0xbd800 movq %rsp, %rdi movq %r14, %rsi callq 0x12deb0 movq (%rsp), %rdi movq 0x8(%rsp), %rax subq %rdi, %rax je 0x12de74 sarq $0x3, %rax movsd (%r14), %xmm0 unpcklps ...
/OpenMD[P]OpenMD/src/utils/Accumulator.hpp
OpenMD::Utils::Accumulator<std::vector<double, std::allocator<double>>>::getVariance() const
std::vector<RealType> getVariance() const { std::vector<RealType> var(Avg_.size()); for (std::size_t i = 0; i < Avg_.size(); i++) { var[i] = (Avg2_[i] - Avg_[i] * Avg_[i]); if (var[i] < 0) var[i] = 0; } return var; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x40(%rsi), %rsi subq 0x38(%r14), %rsi sarq $0x3, %rsi leaq 0x7(%rsp), %rdx callq 0xbd800 movq 0x38(%r14), %rax movq 0x40(%r14), %rcx subq %rax, %rcx je 0x12dfcf sarq $0x3, %rcx movq 0x50(%r14), %rdx movq (%rbx), %rsi cmpq $0x1, %rcx adcq $0x0, %rcx ...
/OpenMD[P]OpenMD/src/utils/Accumulator.hpp
OpenMD::RNEMD::SPFMethod::calculateSlabTherodynamicQuantities(OpenMD::SelectionManager&)
SPFMethod::SlabThermodynamics SPFMethod::calculateSlabTherodynamicQuantities( SelectionManager& sman) { SlabThermodynamics slab {}; int selei {}, selej {}; StuntDouble* sd; for (sd = sman.beginSelected(selei); sd != NULL; sd = sman.nextSelected(selei)) { RealType mass = sd->getMa...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdx, %r14 movq %rdi, %rbx xorpd %xmm0, %xmm0 movupd %xmm0, (%rdi) movq $0x0, 0x10(%rdi) leaq 0xd73d8(%rip), %rax # 0x205f88 cmpq %rax, %rdi je 0x12ebcc movq 0xd73dc(%rip), %rax # 0x205f98 movq %rax, 0x10(%rbx) movupd 0xd73c...
/OpenMD[P]OpenMD/src/rnemd/SPF.cpp
OpenMD::RNEMD::SPFMethod::doRNEMDImpl(OpenMD::SelectionManager&, OpenMD::SelectionManager&)
void SPFMethod::doRNEMDImpl(SelectionManager& smanA, SelectionManager& smanB) { if (!doRNEMD_) return; if (!forceManager_->getHasSelectedMolecule()) { selectMolecule(); } // Remove selected molecule from the source selection manager if (spfTarget_ > 0.0) { smanA -= ...
cmpb $0x1, 0x288(%rdi) jne 0x12f6b8 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 0x22b0(%rdi), %rax cmpb $0x0, 0xd38(%rax) jne 0x12f0fd movq %rbx, %rdi callq 0x12f6ba movsd 0x1f88(%rbx), %xmm0 xorpd %xmm1, %xmm1 xorl %r12d, %r12d...
/OpenMD[P]OpenMD/src/rnemd/SPF.cpp
OpenMD::RNEMD::SPFMethod::selectMolecule()
void SPFMethod::selectMolecule() { std::shared_ptr<SPFData> spfData = currentSnap_->getSPFData(); // Always reset spfTarget_ before selecting a new particle spfTarget_ = particleTarget_; bool hasSelectedMolecule = (spfData->globalID == -1) ? setSelectedMolecule(spfDa...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx movq 0x10(%rdi), %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x7ee46 movsd 0x2b0(%rbx), %xmm0 movsd %xmm0, 0x1f88(%rbx) movq (%r14), %rax cmpl $-0x1, 0x20(%rax) je 0x12f71a movq %rax, 0x18(%rsp) movq 0x10(%rsp), %rax ...
/OpenMD[P]OpenMD/src/rnemd/SPF.cpp
OpenMD::OpenMDBitSet::operator-=(OpenMD::OpenMDBitSet const&)
OpenMDBitSet& operator-=(const OpenMDBitSet& bs) { OpenMDBitSet tmp = *this ^ bs; *this &= tmp; return *this; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rdx movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x144b6a movq %rbx, %rdi movq %r14, %rsi callq 0x1447fa movq (%rsp), %rdi testq %rdi, %rdi je 0x1301e6 movq 0x20(%rsp), %rsi subq %rdi, %rsi callq 0x1b540 movq %rbx, %rax addq $0x28, %rsp popq %r...
/OpenMD[P]OpenMD/src/utils/OpenMDBitSet.hpp
OpenMD::RNEMD::SPFForceManager::~SPFForceManager()
SPFForceManager::~SPFForceManager() { delete temporarySourceSnapshot_; delete temporarySinkSnapshot_; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0xccca6(%rip), %rax # 0x1fd9e0 movq %rax, (%rdi) movq 0xc98(%rdi), %r14 testq %r14, %r14 je 0x130d7a movq 0xa68(%r14), %rdi testq %rdi, %rdi je 0x130d5a callq 0x34c66 leaq 0x380(%r14), %rdi callq 0x7c522 leaq 0x1c0(%r14), %rdi callq 0x7c522 movq %r14, %rdi callq...
/OpenMD[P]OpenMD/src/rnemd/SPFForceManager.cpp
OpenMD::ConstraintWriter::writeConstraintForces(std::__cxx11::list<OpenMD::ConstraintPair*, std::allocator<OpenMD::ConstraintPair*>> const&)
void ConstraintWriter::writeConstraintForces( const std::list<ConstraintPair*>& constraints) { #ifndef IS_MPI std::list<ConstraintPair*>::const_iterator i; for (i = constraints.begin(); i != constraints.end(); ++i) { if ((*i)->getPrintForce()) { output_ << info_->getSnapshotManager()->getCur...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq (%rsi), %rbp cmpq %rsi, %rbp je 0x135305 movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rdi), %r15 leaq 0x658d2(%rip), %r12 # 0x19ab02 movq 0x10(%rbp), %rax cmpb $0x1, 0x20(%rax) jne 0x1352f8 movq (%r14), %rax movq 0x2f8(%rax), %rax movq 0...
/OpenMD[P]OpenMD/src/io/ConstraintWriter.cpp
OpenMD::StatWriter::writeVector(int)
void StatWriter::writeVector(int i) { Vector3d s = stats_->getVectorData(i); if (std::isinf(s[0]) || std::isnan(s[0]) || std::isinf(s[1]) || std::isnan(s[1]) || std::isinf(s[2]) || std::isnan(s[2])) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "StatWriter detected a numeric...
pushq %rbp pushq %r14 pushq %rbx subq $0x40, %rsp movl %esi, %ebp movq %rdi, %rbx movq 0x440(%rdi), %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi movl %ebp, %edx callq 0x109e36 movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF movq (%r14), %rdx andq %rax, %rdx movabsq $0x7fefffffffffffff, %rcx # imm = 0x7FEFFFFF...
/OpenMD[P]OpenMD/src/io/StatWriter.cpp
OpenMD::StatWriter::writePotVec(int)
void StatWriter::writePotVec(int i) { potVec s = stats_->getPotVecData(i); bool foundError = false; for (unsigned int j = 0; j < N_INTERACTION_FAMILIES; j++) { if (std::isinf(s[j]) || std::isnan(s[j])) foundError = true; } if (foundError) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_L...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x58, %rsp movl %esi, %ebp movq %rdi, %rbx movq 0x440(%rdi), %rsi leaq 0x20(%rsp), %rdi movl %ebp, %edx callq 0x109e90 xorl %eax, %eax movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF movabsq $0x7fefffffffffffff, %rdx # imm = 0x7FEFFFFFFFFFFFFF xorl %esi, %e...
/OpenMD[P]OpenMD/src/io/StatWriter.cpp
OpenMD::ifstrstream::ifstrstream()
ifstrstream::ifstrstream() : std::basic_istream<char, std::char_traits<char>>(0), internalFileBuf_(), isRead(false) { this->init(&internalFileBuf_); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rax movq %rax, (%rdi) movq 0x10(%rsi), %rcx movq -0x18(%rax), %rax movq %rcx, (%rdi,%rax) xorl %r15d, %r15d movq %r15, 0x8(%rdi) movq (%rdi), %rax movq -0x18(%rax), %rdi addq %rbx, %rdi xorl %esi, %esi callq 0x1b740 ...
/OpenMD[P]OpenMD/src/io/ifstrstream.cpp
OpenMD::ifstrstream::open(char const*, std::_Ios_Openmode, bool)
void ifstrstream::open(const char* filename, std::ios_base::openmode mode, bool checkFilename) { if (!isRead) { #if defined(_MSC_VER) isRead = internalOpen(filename, mode | std::ios_base::binary, checkFilename); #else isRead = internalOpen(filename, mode, checkFilename...
cmpb $0x0, 0x168(%rdi) jne 0x136a4f pushq %rbx movq %rdi, %rbx xorl %ecx, %ecx callq 0x136736 movb %al, 0x168(%rbx) popq %rbx retq
/OpenMD[P]OpenMD/src/io/ifstrstream.cpp
OpenMD::ForceMatrixDecomposition::ForceMatrixDecomposition(OpenMD::SimInfo*, OpenMD::InteractionManager*)
ForceMatrixDecomposition::ForceMatrixDecomposition(SimInfo* info, InteractionManager* iMan) : ForceDecomposition(info, iMan) { // Row and colum scans must visit all surrounding cells cellOffsets_.clear(); cellOffsets_.push_back(Vector3i(-1, -1, -1))...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx callq 0x136aa8 leaq 0xc662f(%rip), %rax # 0x1fdd60 movq %rax, (%rbx) leaq 0x270(%rbx), %r14 xorps %xmm0, %xmm0 movups %xmm0, 0x2b8(%rbx) movups %xmm0, 0x2c8(%rbx) movups %xmm0, 0x2d8(%rbx) movups %xmm0, 0x2e8(%rbx) mo...
/OpenMD[P]OpenMD/src/parallel/ForceMatrixDecomposition.cpp
OpenMD::Perturbations::Light::initialize()
void Light::initialize() { bool haveE0 = false; bool haveDirection = false; bool haveFrequency = false; bool havePolarization = false; if (lightParams->haveWaveVector()) { std::vector<RealType> k = lightParams->getWaveVector(); // wave vectors are input in inverse angstr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdi, %rbx movq 0x20(%rdi), %rsi cmpb $0x0, 0x17a(%rsi) je 0x139f34 xorl %ebp, %ebp jmp 0x13a04d addq $0x180, %rsi # imm = 0x180 leaq 0x10(%rsp), %r14 movq %r14, %rdi callq 0x5d56e movq (%r14), %rax movsd (%rax), %xmm0 le...
/OpenMD[P]OpenMD/src/perturbations/Light.cpp
OpenMD::UniformField::initialize()
void UniformField::initialize() { std::vector<RealType> ef; if (simParams->haveElectricField()) { doUniformField = true; ef = simParams->getElectricField(); } if (simParams->haveUniformField()) { doUniformField = true; ef = simParams->getUniformField(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq 0x18(%rdi), %rsi cmpb $0x0, 0x142a(%rsi) je 0x13bc08 xorl %r13d, %r13d xorl %r12d, %r12d xorl %ebp, %ebp jmp 0x13bc2d movb $0x1, 0x11(%rbx) addq $0x1430, %rsi # imm = 0x1430 movq %rsp, %r14 movq %r14, %rdi ...
/OpenMD[P]OpenMD/src/perturbations/UniformField.cpp
OpenMD::UniformGradient::modifyForces()
void UniformGradient::modifyForces() { if (!initialized) initialize(); SimInfo::MoleculeIterator i; Molecule::AtomIterator j; Molecule* mol; Atom* atom; AtomType* atype; potVec longRangePotential(0.0); RealType C; Vector3d D; Mat3x3d Q; RealType U; RealType fPot; V...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x228, %rsp # imm = 0x228 cmpb $0x0, 0x10(%rdi) movq %rdi, (%rsp) jne 0x13cee4 movq (%rsp), %rdi callq 0x13ca4a movq (%rsp), %rdi xorl %eax, %eax movq %rax, 0x78(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0x1e0(%rsp) movapd %xmm0, 0x1c0(%rsp...
/OpenMD[P]OpenMD/src/perturbations/UniformGradient.cpp
OpenMD::RestraintForceModifier::modifyForces()
void RestraintForceModifier::modifyForces() { RealType restPot(0.0); restPot = doRestraints(1.0); #ifdef IS_MPI MPI_Allreduce(MPI_IN_PLACE, &restPot, 1, MPI_REALTYPE, MPI_SUM, MPI_COMM_WORLD); #endif currSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot(); RealType rp ...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx movsd 0x4f0f6(%rip), %xmm0 # 0x18e018 callq 0x13f00a movsd %xmm0, 0x8(%rsp) movq 0x8(%rbx), %rax movq 0x2f8(%rax), %rax movq 0x18(%rax), %rdi movq %rdi, 0xb0(%rbx) callq 0x7e91c movq 0xb0(%rbx), %rdi addsd 0x8(%rsp), %xmm0 callq 0x7e912 movq 0xb0(%rbx...
/OpenMD[P]OpenMD/src/restraints/RestraintForceModifier.cpp
OpenMD::RestraintForceModifier::doRestraints(double)
RealType RestraintForceModifier::doRestraints(RealType scalingFactor) { std::vector<Molecule*>::const_iterator rm; std::shared_ptr<GenericData> data; Molecule::IntegrableObjectIterator ioi; MolecularRestraint* mRest = NULL; ObjectRestraint* oRest = NULL; StuntDouble* sd; std::vector<Stun...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movsd %xmm0, 0xb0(%rsp) leaq 0xc0(%rsp), %rcx movl $0x0, (%rcx) xorl %eax, %eax movq %rax, 0x8(%rcx) movq %rcx, 0x10(%rcx) movq %rcx, 0x18(%rcx) movq %rax, 0x20(%rcx) movq %rax, 0x58(%rdi) movq 0x60(%rdi), %r14 ...
/OpenMD[P]OpenMD/src/restraints/RestraintForceModifier.cpp
OpenMD::MolecularRestraint::~MolecularRestraint()
MolecularRestraint() : Restraint() {}
pushq %rbx movq %rdi, %rbx leaq 0xbe11f(%rip), %rax # 0x1fe080 movq %rax, (%rdi) movq 0xd0(%rdi), %rdi testq %rdi, %rdi je 0x13ff7f movq 0xe0(%rbx), %rsi subq %rdi, %rsi callq 0x1b540 movq 0xb8(%rbx), %rdi testq %rdi, %rdi je 0x13ff9a movq 0xc8(%rbx), %rsi subq %rdi, %rsi callq 0x1b540 movq %rbx, %rdi popq %rbx jmp...
/OpenMD[P]OpenMD/src/restraints/MolecularRestraint.hpp
OpenMD::MolecularRestraint::~MolecularRestraint()
MolecularRestraint() : Restraint() {}
pushq %rbx movq %rdi, %rbx leaq 0xbe0d1(%rip), %rax # 0x1fe080 movq %rax, (%rdi) movq 0xd0(%rdi), %rdi testq %rdi, %rdi je 0x13ffcd movq 0xe0(%rbx), %rsi subq %rdi, %rsi callq 0x1b540 movq 0xb8(%rbx), %rdi testq %rdi, %rdi je 0x13ffe8 movq 0xc8(%rbx), %rsi subq %rdi, %rsi callq 0x1b540 movq %rbx, %rdi callq 0x13fff...
/OpenMD[P]OpenMD/src/restraints/MolecularRestraint.hpp
OpenMD::Restraint::~Restraint()
virtual ~Restraint() {}
pushq %rbx movq %rdi, %rbx leaq 0xbe097(%rip), %rax # 0x1fe0a0 movq %rax, (%rdi) addq $0x88, %rdi callq 0x1404ea movq 0x68(%rbx), %rdi addq $0x78, %rbx cmpq %rbx, %rdi je 0x140031 movq (%rbx), %rsi incq %rsi popq %rbx jmp 0x1b540 popq %rbx retq nop
/OpenMD[P]OpenMD/src/restraints/Restraint.hpp
OpenMD::SelectionManager::beginUnselectedTorsion(int&)
Torsion* SelectionManager::beginUnselectedTorsion(int& i) { #ifdef IS_MPI i = 0; while (i < static_cast<int>(ss_.bitsets_[TORSION].size())) { if (!ss_.bitsets_[TORSION][i]) { // check that this processor owns this torsion if (torsions_[i] != NULL) return torsions_[i]; } ++i; ...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rdi), %rdi movq 0x78(%rdi), %rax testb $0x1, (%rax) jne 0x1419e5 movl $0x0, (%r14) xorl %eax, %eax jmp 0x1419fb addq $0x78, %rdi xorl %r15d, %r15d xorl %esi, %esi callq 0x1445e2 movl %eax, (%r14) cmpl $-0x1, %eax je 0x141a08 cltq movq 0x80(%rbx)...
/OpenMD[P]OpenMD/src/selection/SelectionManager.cpp
OpenMD::SelectionSet::nextOffBit(std::vector<int, std::allocator<int>>) const
std::vector<int> SelectionSet::nextOffBit(std::vector<int> fromIndex) const { std::vector<int> result(N_SELECTIONTYPES); for (int i = 0; i < N_SELECTIONTYPES; i++) result[i] = bitsets_[i].nextOffBit(fromIndex[i]); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl $0x18, %edi callq 0x1b530 movq %rax, %r12 movq %rax, (%r14) addq $0x18, %rax movq %rax, 0x10(%r14) xorps %xmm0, %xmm0 movups %xmm0, (%r12) movq $0x0, 0x10(%r12) movq %rax, 0x8(%r14) xorl %r1...
/OpenMD[P]OpenMD/src/selection/SelectionSet.cpp
OpenMD::OpenMDBitSet::resize(unsigned long)
void OpenMDBitSet::resize(size_t nbits) { size_t oldSize = size(); bitset_.resize(nbits); if (nbits > oldSize) { std::fill(bitset_.begin() + oldSize, bitset_.end(), false); } }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r15 movq %rdi, %r14 movq 0x10(%rdi), %rax movl 0x18(%rdi), %ecx subq (%rdi), %rax leaq (%rcx,%rax,8), %rbx xorl %edx, %edx callq 0x64e46 cmpq %r15, %rbx jae 0x144a93 leaq 0x3f(%rbx), %rax testq %rbx, %rbx cmovnsq %rbx, %rax sarq $0x6, %rax shlq $0x3, %r...
/OpenMD[P]OpenMD/src/utils/OpenMDBitSet.cpp
OpenMD::operator<<(std::ostream&, OpenMD::OpenMDBitSet const&)
std::ostream& operator<<(std::ostream& os, const OpenMDBitSet& bs) { for (size_t i = 0; i < bs.bitset_.size(); ++i) { std::string val = bs[i] ? "true" : "false"; os << "OpenMDBitSet[" << i << "] = " << val << std::endl; } return os; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq (%rsi), %rax movq 0x10(%rsi), %rcx movl 0x18(%rsi), %edx subq %rax, %rcx shlq $0x3, %rcx addq %rdx, %rcx je 0x144de0 movq %rsi, %r14 movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000 xorl %r13d, %r13d lea...
/OpenMD[P]OpenMD/src/utils/OpenMDBitSet.cpp
OpenMD::RestReader::readStuntDoubles(std::istream&)
void RestReader::readStuntDoubles(std::istream& inputStream) { inputStream.getline(buffer, bufferSize); std::string line(buffer); if (line.find("<StuntDoubles>") == std::string::npos) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "RestReader Error: Missing <StuntDoubles>\n"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x68(%rdi), %r15 movq (%rsi), %rax movq -0x18(%rax), %rdi addq %rsi, %rdi movl $0xa, %esi callq 0x1b4f0 movsbl %al, %ecx movl $0x1000, %edx # imm = 0x1000 movq %rbx, %rdi movq %r15, %rsi cal...
/OpenMD[P]OpenMD/src/io/RestReader.cpp
OpenMD::LDForceModifier::getMomentData(OpenMD::StuntDouble*)
MomentData* LDForceModifier::getMomentData(StuntDouble* sd) { map<string, MomentData*>::iterator j = momentsMap_.find(sd->getType()); if (j != momentsMap_.end()) { return j->second; } else { MomentData* moment = new MomentData; map<string, HydroProp*>::iterator i = hydroPr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rsi, %r15 movq %rdi, %r12 leaq 0x58(%rdi), %r13 movq (%rsi), %rax leaq 0x10(%rsp), %r14 movq %r14, %rdi callq *0x38(%rax) movq %r13, %rdi movq %r14, %rsi callq 0x14a4f4 movq %rax, %r14 leaq 0x20(%rsp), %rb...
/OpenMD[P]OpenMD/src/integrators/LDForceModifier.cpp
OpenMD::LDForceModifier::modifyForces()
void LDForceModifier::modifyForces() { SimInfo::MoleculeIterator i; Molecule::IntegrableObjectIterator j; Molecule* mol; StuntDouble* sd; RealType mass; Vector3d pos; Vector3d frc; Mat3x3d A; Mat3x3d Atrans; Vector3d Tb; Vector3d ji; unsigned int index = 0; bool doLan...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x4a8, %rsp # imm = 0x4A8 movq %rdi, %rbx xorl %r13d, %r13d leaq 0x2f8(%rsp), %rsi movq %r13, (%rsi) movq %r13, 0x1d0(%rsp) xorpd %xmm0, %xmm0 movapd %xmm0, 0x1c0(%rsp) movq %r13, 0x4a0(%rsp) movapd %xmm0, 0x490(%rsp) movapd %xmm0, 0x480...
/OpenMD[P]OpenMD/src/integrators/LDForceModifier.cpp
OpenMD::InteractionManager::InteractionManager()
InteractionManager::InteractionManager() { initialized_ = false; lj_ = std::make_shared<LJ>(); gb_ = std::make_shared<GB>(); sticky_ = std::make_shared<Sticky>(); morse_ = std::make_shared<Morse>(); repulsivePower_ = std::make_shared<...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0xb382d(%rip), %rax # 0x1fe250 movq %rax, (%rdi) addq $0x10, %rdi leaq 0xd0(%rbx), %r14 movl $0x0, 0xd0(%rbx) xorl %r15d, %r15d movq %r15, 0xd8(%rbx) movl $0xb8, %edx xorl %esi, %esi callq 0x1b2b0 movq %r14, 0xe0(%rbx) movq...
/OpenMD[P]OpenMD/src/nonbonded/InteractionManager.cpp
OpenMD::InteractionManager::doPreForce(OpenMD::SelfData&)
void InteractionManager::doPreForce(SelfData& sdat) { if (!initialized_) initialize(); int& sHash = sHash_[sdat.atid]; if ((sHash & EAM_INTERACTION) != 0) eam_->calcFunctional(sdat); if ((sHash & SC_INTERACTION) != 0) sc_->calcFunctional(sdat); // set<NonBondedInteraction*>::iterator it; // ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x14cd12 movq %r14, %rdi callq 0x14aeec movslq (%rbx), %r15 movq 0x128(%r14), %r12 movl (%r12,%r15,4), %eax testb $0x4, %al je 0x14cd35 movq 0x48(%r14), %rdi movq (%rdi), %rax movq %rbx, %rsi callq *0x40(%rax...
/OpenMD[P]OpenMD/src/nonbonded/InteractionManager.cpp
OpenMD::InteractionManager::getSuggestedCutoffRadius(int*)
RealType InteractionManager::getSuggestedCutoffRadius(int* atid) { if (!initialized_) initialize(); AtomType* atype = typeMap_[*atid]; set<NonBondedInteractionPtr>::iterator it; RealType cutoff = 0.0; for (it = interactions_[*atid][*atid].begin(); it != interactions_[*atid][*atid].end();...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x14cf7a movq %r14, %rdi callq 0x14aeec leaq 0xc8(%r14), %rdi movq %rbx, %rsi callq 0x14d210 movslq (%rbx), %rcx movq 0xf8(%r14), %rdx leaq (%rcx,%rcx,2), %rcx movq (%rdx,%rcx,8), %rdx shlq $0x4, %rcx addq %r...
/OpenMD[P]OpenMD/src/nonbonded/InteractionManager.cpp
OpenMD::InteractionManager::getSuggestedCutoffRadius(OpenMD::AtomType*)
RealType InteractionManager::getSuggestedCutoffRadius(AtomType* atype) { if (!initialized_) initialize(); int atid = atype->getIdent(); set<NonBondedInteractionPtr>::iterator it; RealType cutoff = 0.0; for (it = interactions_[atid][atid].begin(); it != interactions_[atid][atid].end(); ++...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x14d03b movq %r14, %rdi callq 0x14aeec movq %rbx, %rdi callq 0xceedc cltq movq 0xf8(%r14), %rcx leaq (%rax,%rax,2), %r12 movq (%rcx,%r12,8), %rax movq %r12, %r13 shlq $0x4, %r13 addq %r13, %...
/OpenMD[P]OpenMD/src/nonbonded/InteractionManager.cpp
OpenMD::InversePowerSeries::InversePowerSeries()
InversePowerSeries::InversePowerSeries() : initialized_(false), forceField_(NULL), name_("InversePowerSeries") {}
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx leaq 0xafe3d(%rip), %rax # 0x1fe5f0 movq %rax, (%rdi) movb $0x0, 0x8(%rdi) leaq 0x18(%rdi), %rax xorl %ecx, %ecx movl %ecx, 0x18(%rdi) movq %rcx, 0x20(%rdi) movq %rax, 0x28(%rdi) movq %rax, 0x30(%rdi) leaq 0x80(%rdi), %rax movl %ecx, 0x80(%rdi) movq %rcx, 0x88(%rdi) ...
/OpenMD[P]OpenMD/src/nonbonded/InversePowerSeries.cpp
OpenMD::InversePowerSeries::initialize()
void InversePowerSeries::initialize() { InversePowerSeriesTypes.clear(); InversePowerSeriesTids.clear(); MixingMap.clear(); InversePowerSeriesTids.resize(forceField_->getNAtomType(), -1); ForceField::NonBondedInteractionTypeContainer* nbiTypes = forceField_->getNonBondedInteractionTypes(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rdi, %r13 addq $0x10, %rdi movq %rdi, 0x88(%rsp) callq 0x14f528 movq 0x40(%r13), %rax cmpq %rax, 0x48(%r13) je 0x14e8ad movq %rax, 0x48(%r13) leaq 0x40(%r13), %rax movq %rax, (%rsp) movq 0x58(%r13), %r15 movq 0x60(%r13), %r12 cmpq ...
/OpenMD[P]OpenMD/src/nonbonded/InversePowerSeries.cpp
OpenMD::InversePowerSeries::calcForce(OpenMD::InteractionData&)
void InversePowerSeries::calcForce(InteractionData& idat) { if (!initialized_) initialize(); InversePowerSeriesInteractionData& mixer = MixingMap[InversePowerSeriesTids[idat.atid1]] [InversePowerSeriesTids[idat.atid2]]; std::vector<int> powers = mixer.powers; std::ve...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0xe8, %rsp movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x14ef13 movq %r14, %rdi callq 0x14e87a movslq (%rbx), %rax movq 0x40(%r14), %rcx movq 0x58(%r14), %rdx movslq (%rcx,%rax,4), %rax leaq (%rax,%rax,2), %rax movslq 0x4(%rbx), %rsi movslq (%rcx,%rsi,4), %...
/OpenMD[P]OpenMD/src/nonbonded/InversePowerSeries.cpp
OpenMD::InversePowerSeries::getSuggestedCutoffRadius(std::pair<OpenMD::AtomType*, OpenMD::AtomType*>)
RealType InversePowerSeries::getSuggestedCutoffRadius( pair<AtomType*, AtomType*> atypes) { if (!initialized_) initialize(); int atid1 = atypes.first->getIdent(); int atid2 = atypes.second->getIdent(); int ipstid1 = InversePowerSeriesTids[atid1]; int ipstid2 = InversePowerSeriesTids[atid2...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx cmpb $0x0, 0x8(%rdi) jne 0x14f232 movq %rbx, %rdi callq 0x14e87a movq %r15, %rdi callq 0xceedc movl %eax, %ebp movq %r14, %rdi callq 0xceedc movslq %ebp, %rcx movq 0x40(%rbx), %rdx movl (%rdx,%rcx,4), %ecx cltq cmpl $...
/OpenMD[P]OpenMD/src/nonbonded/InversePowerSeries.cpp