# Tagged Questions

The tag has no usage guidance.

2answers
171 views

### generate 3D cubic lattice with different atoms in alternate site [duplicate]

I was wondering how to create a 3D cubic lattice and vizualize with A and B atoms in alternate sites? Regards
0answers
66 views

### LatticeReduce of a linearly dependent basis

l1 = {{-6327, 0, -2109}, {131, 0, -131}, {-6840, 0, 24929}}; LatticeReduce[l1]] returns {{1,0,0},{0,0,1}}. How do I find ...
0answers
47 views

### LatticeReduce question

Does LatticeReduce work with arbitrary precision arithmetic? That is, if I give it a linearly independent integer basis, but the integers are 40 decimal digits long ...
1answer
155 views

### What values of $\delta$ and $\eta$ are being used in LatticeReduce?

The Lenstra–Lenstra–Lovász algorithm has a parameter $\delta$ with $1/4 < \delta < 1$, where roughly speaking the closer $\delta$ is to 1 the longer it takes, but the better basis reduction you ...
1answer
188 views

### Arbitrary shape GridGraph

There is a function GridGraph that generates a finite square lattice graph. Is there a way to make a generalized solution (e.g. with hexagons, or triangles instead of squares)? To put it in more ...
3answers
293 views

### NIntegrate of surface area of intersecting spheres yields zero

I have a bunch of spheres (it's actually diamond cubic structure. The 0.6 radius doesn't matter), ...
1answer
147 views

### How to change the atom size of LatticeData [duplicate]

Using the "Image" property of LatticeData, I can generate representation of lattice structures (like the first basic example did)...
0answers
60 views

### creating a lattice using periodicity [duplicate]

i have 2 atoms A and B the coordinates of the A atoms are $r1A= (0,-2d)$ and $r2A= (\sqrt{3}/2 ,-d/2)$ the coordinates of B atoms are $r1B= (0,-d)$ and $r2B= ( \sqrt{3}/2,d/2)$ now i would ...
2answers
3k views

### How to create an hexagonal lattice structure

Given an array of atoms A-B-A-B-A-B in an hexagonal pattern, how can I use Mathematica to create with an hexagonal lattice (infinite) with this array so each atom A is sorrounded only by B atoms and ...
0answers
422 views

### Triangular lattice with periodic boundary conditions

I am trying to generate an equilateral triangular lattice with fixed vertices and periodic boundary conditions. I am supposed to assign an index (starting from 0) to each vertex in my lattice and then ...
1answer
310 views

### Cropping a non-cubic lattice unit cell

I would like to crop the hexagonal close-packed system as a hexagon and not as a cube. I would like to use the following volumetricPlot already given on this ...
3answers
696 views

### 1D quasicrystal: points on a line nearest to points on a lattice

I have a simple lattice / line manipulation: ...
0answers
193 views

### How plot the lattice QCD visualization figure? [duplicate]

The following is the 3D grid to visualize the lattice QCD simulations. Please help me, how to plot this fig. employing Mathematica. Thank you very much.
1answer
393 views

### Finding 111 plane of Carbon Diamond

All, I looked at the example on the Mathematica Website with the Carbon Diamond Lattice. Example I am referring to I am wondering is there a way to highlight an individual plane such as the 111 or ...
1answer
490 views

### Using LatticeData to fill a space with spheres in a face-centered cubic (fcc) lattice packing arrangement

I have a large sphere of radius $R_1$ which I would like to pack with $N$ smaller radius of radius $r_2<R_1$ arranged in a face-centered cubic (fcc) packing arrangement (i.e. Kepler's optimal ...
2answers
252 views

### Visualizing multi-state lattice from a data set

Is there any way to make Mathematica visualize a multistate square lattice? That is, I have a data set from a simulation that is x coloumns wide and y rows tall (just a simple .dat file), where each ...
1answer
371 views

### How can I sequentially apply different graph embeddings?

Imagine I have some graph G, and I perform a graph embedding using a command like: ...
2answers
3k views

### How to generate a 3-d simple cubic lattice of length 4 in each dimension?

LatticeData["SimpleCubic", "Image"] The above line gives me a single cube (2 lattice points in each direction). But I want a lattice with 4 lattice points in ...
1answer
630 views

### Can a LatticeData image be displayed in a space filled fashion

I'd like a FaceCenteredCubic image as in the in LatticeData docs, but space packed, and cropped on all the boundaries, so that it illustrates the geometry of the calculation that leads to the \$\pi/\...