Questions tagged [lattices]
The lattices tag has no usage guidance.
85
questions
4
votes
5
answers
378
views
Can I merge two tables into one?
I'm using Table to generate such a lattice
...
3
votes
1
answer
84
views
Find more relationships with LatticeReduce
I'm using LatticeReduce to find linear relationships in these trigonometric expressions,
...
1
vote
1
answer
54
views
Sum on a lattice where variables can only take two values (Ising lattice gauge theory)
I want to study the Ising Gauge Theory which has the Hamiltonian
\begin{equation}
\mathcal{H} = -J \sum_{n,\mu,\nu} \sigma_3(n,\mu)\sigma_3(n+\mu,\nu)\sigma_3(n+\mu+\nu, -\mu)\sigma_3(n+\nu, -\nu)
\...
1
vote
1
answer
62
views
Intersection of region with triangular lattice in 2D
Is there a function that finds all points that lie in specified region and also are part of triangular lattice defined by {Sqrt[3] i, 3 (2 j + Mod[i, 2])} for ...
0
votes
1
answer
247
views
Calculate the 1st Brillouin zone with given lattice basis vectors
Given two basis vectors in the 2-dimensional momentum space b1, b2, I want to write a function that returns the 1st Brillouin zone:
...
4
votes
2
answers
312
views
Identifying lattice squares that are intersected by a closed curve
Given a lattice of unit squares I would like to find the number of squares that a curve (in the example below the curve is a circle) passes through and the number of squares that totally reside inside ...
4
votes
1
answer
160
views
Fill in color for transparent area in 3D plot
I have a lattice of large spheres:
...
2
votes
2
answers
185
views
Image plot of integer lattice through a map
Is there a way to plot (in the real line) the points corresponding to the image of
$$
L(n_{1},n_{2})=\alpha\cdot n_{1}+\beta\cdot n_{2},
$$
where $\alpha$ and $\beta$ are real numbers to be chosen and ...
2
votes
0
answers
108
views
What is LatticeReduce minimizing?
According to the manual page on LatticeReduce, The product of the norms of lattice vectors will decrease. The claim seems to be true for small lattices, but, I cannot confirm this for higher ...
3
votes
1
answer
280
views
Filling the space with rectangles
Following up on my previous question, I now seek to fill a matrix $m \times n$ with rectangles. Henrik Schumaker had provided some code in his answer to the previous question:
...
0
votes
1
answer
217
views
Efficient algorithm for Euclidean distance on a lattice [closed]
I am unable to code the problem in Mathematica. For the problem, please see the attached image. Help in this regard will be greatly appreciated.
The statement of the problem is as follows:
Consider a ...
4
votes
1
answer
293
views
Plotting a function on a triangular lattice
I am new to Mathematica, and am unsure on how to start this.
I am working with a triangular lattice $\mathcal{T}$ with basis vectors $(1,0)$ and$\left(-\frac{1}{2},\frac{\sqrt{3}}{2}\right)$, and have ...
6
votes
2
answers
332
views
Plotting of probability density on a lattice and studying dynamics
I have a lattice described by a AdjacencyMatrix or Hamiltonian. This matrix has all the information of how each site is connected to another site with what hopping ...
12
votes
2
answers
1k
views
Arbitrary lattice graph in 2D
My purpose is to generate a graph representing a lattice, where the vertices are essentially the lattice sites. This lattice has to be periodic. That means the opposite boundaries are identical.
MWE ...
6
votes
1
answer
152
views
How to generate an heterogeneous mesh
I'd like to generate a mesh with a big variance in cell size. Something like
I'd prefer not to rely on a vertex model and perhaps use something simpler, like ...