527 karma · joined Mar 6, 2014 (12y ago) · 121 submissions
comment 4y ago · link · parent
I'm somewhat optimistic that HFC will play a role in the future of transportation, but there are still a lot of issues that need to be ironed out.
comment 5y ago · link · parent
If it was possible to construct your mapping, then there would be a well-defined sorting of the reals between 0 and 1 based on their integer representation (e.g. we could sort the set {0.05, 0.1, 0.2} => {50, 1, 2} to [0.1, 0.2, 0.05] => [1, 2, 50]).
How would you sort the list {0.5, 1 / sqrt(2), pi - 3}?
comment 6y ago · link · parent
comment 6y ago · link · parent
It is frequently more efficient to perform energy minimizations of molecules in a basis of "internal coordinates", in which parameters such as the distance between bonded atoms, the angle formed by three sequentially-bonded atoms, and the dihedral angle[0] formed by four sequentially bonded atoms are used as a coordinate system for minimization. This coordinate system is a lot more complex than the more natural Cartesian coordinate system, but it's more efficient for large molecules because you can e.g. twist a molecule along some central bond without screwing up the bond distances on the far ends of the molecule. Implementing optimization using internal coordinates is not entirely trivial, as the manifold of physically-meaningful internal coordinates is not flat, and internal coordinates tend to be over-specified, but it is often worth implementing despite the complexity.
Anyway, one major problem with this approach is that if three sequentially-bonded atoms ever become collinear (which admittedly is not super common, but it's common enough that we have to consider it), the Jacobian of that angle relative to the Cartesian coordinate system becomes ill-defined (because it is physically impossible to increase the angle, and the angle will decrease if any of the atoms moves in any direction orthogonal to the line that the 3 atoms lie on). Worse, any dihedral angle involving those 3 atoms becomes ill-defined, and if a structure passes through a configuration where the 3 atoms are collinear, the dihedral angle will discontinuously change by 180 degrees.
This causes all sorts of problems during energy minimization. The standard way to "solve" this problem is to define "dummy atoms", fictitious sites that are only used to construct well-defined bending and dihedral angles. But to prevent the dummy atom from "drifting away" since no real forces are acting on it (and to counteract the creation of 3 physically meaningless degrees of freedom), it becomes necessary to add constraints. So now we've turned an unconstrained minimization in a non-euclidean coordinate system to a constrained minimization in a non-euclidean coordinate system. And it's very ambiguous where the best place to put this "dummy atom" is, or how to define its constraints. And what happens if 4 atoms become collinear? Moreover, this is usually done manually, using "chemical intuition", and I am interested in writing code that works automatically for high-throughput applications where it would be infeasible to manually define dummy atoms.
My hope was that there would be some way to augment the traditional definition of the dihedral angle to avoid this singularity/discontinuity, but my attempts at implementing this failed to improve upon anything. My current approach tries to automatically add these dummy atoms, but I find that this has a tendency to make optimization performance drastically worse (presumably due to the sudden addition of constraints).
This problem has been on the backburner for some time now, but I would like to engineer some sort of solution that is more consistent and performant than my current approach, while still being entirely automated, without needing any "chemical intuition".
[0] https://en.wikipedia.org/wiki/Dihedral_angle#In_stereochemis...
comment 6y ago · link · parent
comment 6y ago · link · parent
> This is true, and I don't see much wrong with it. I don't like the idea of other code mandating how I should release my code.
I would suggest taking another look at Drew's argument for the AGPL:
> The reason they spread these misconceptions is straightforward: they want to discourage people from using the AGPL, because they cannot productize such software effectively. Google wants to be able to incorporate FOSS software into their products and sell it to users without the obligation to release their derivative works. Google is an Internet company, and they offer Internet services. The original GPL doesn’t threaten their scheme because their software is accessed over the Internet, not distributed to end-users directly.
Whether or not this is true of Google in particular, it is true that if you are a company writing open-source software that is accessed over the internet, the AGPL makes it more difficult for competitors to benefit from your work while keeping their improvements secret. If it was GPL-licensed, competitors could use it however they want without releasing their modified source so long as the software isn't "distributed".
comment 6y ago · link · parent
comment 6y ago · link · parent
> what does the wave equation of the electron in a hydrogen atom look like during "spontaneous" emission of a photon? i don't think anyone has any idea.
It sounds like you are not aware that this is an entire field of research within the theoretical chemistry community. Theoreticians have been studying spectroscopy for a century.
comment 6y ago · link · parent
comment 6y ago · link · parent
> thus, the "change" in the simulation posted here would be uninteresting since it would just correspond to clicking a different eigenstate in the top right!
That is a drastic oversimplification of reality. Spontaneous emission of a photon is not instantaneous. It is still possible to simulate the time-evolution of this process.
comment 6y ago · link · parent
comment 6y ago · link · parent
Edit: also, three of the parameter (x, y, z or r, θ, φ depending on whether you are using a Cartesian or spherical coordinate system) are continuous, real, and unbounded (well, unbounded in a Cartesian sense anyway). In contrast, n, l, and m are discrete integer-valued quantum coefficients that obey the relations n > 0, 0 <= l < n, -l <= m <= l.
comment 6y ago · link · parent
I disagree with this description. It is true that higher values of n correspond to wave functions with higher energy, but higher values of l also correspond to wave functions with higher energy. n indicates the number of radial nodes.
> A volume integral would be unitless
The volume integral has units of "number of electrons". Calling this unitless is unnecessarily misleading I feel, even if it is technically correct, since in physics we tend not to give units to quantities like this.
comment 6y ago · link · parent
The Hamiltonian is an operator that describes the energy of a system. Eigenfunctions of the Hamiltonian are quantum states, referred to as wave functions. The squared amplitude of a wave function is a probability distribution function. When discussing the wave functions of electrons, the probability amplitude is sometimes referred to as the electron density. You are looking at a sampling from the electron density of the wave functions of the 1-electron 1-nucleus Hamiltonian operator. There are different wave functions (different entries in the dropdown box at the top-right corner of the screen) because the Hamiltonian operator has more than one eigenfunction. Each eigenfunction is characterized by the 3 "quantum numbers": n, l, and m. "n" indicates the number of radial nodes -- areas of a given distance from the nucleus where the electron density is 0. "l" indicates the number of angular nodes -- areas arranged in a certain angular pattern around the nucleus where the electron density is 0.
> I think there is something that would truly help: if one would take a volume integral over a infinitesimal cube of the 3D interactive representation, what physical units would the result be in?
Number of electrons (possibly fractional, if you aren't sampling the whole space). For this particular Hamiltonian, the integral over all space should be numerically 1 for any given eigenfunction, since we are looking at the 1-electron Hamiltonian.