The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
166 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
0
votes
0answers
65 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 ...
0
votes
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 ...
8
votes
1answer
154 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 ...
5
votes
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 ...
8
votes
3answers
289 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), ...
3
votes
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 ...
1
vote
0answers
59 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 ...
13
votes
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 ...
1
vote
0answers
411 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 ...
2
votes
1answer
300 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 ...
11
votes
3answers
688 views

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

I have a simple lattice / line manipulation: ...
0
votes
0answers
189 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.
2
votes
1answer
387 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 ...
0
votes
1answer
485 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 ...
0
votes
2answers
251 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 ...
8
votes
1answer
370 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: ...
4
votes
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 ...
12
votes
1answer
620 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 ...