-
-
Notifications
You must be signed in to change notification settings - Fork 4
3rd party codes
-
MTEX: https://mtex-toolbox.github.io/.
USED TO WORK ON TEXTURE AND GRAIN STRUCTURE ANALYSIS
. {MUST BE INSTALLED SEPERATELY, IF NEEDED} -
Jakob Sievers (2021). VoronoiLimit(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/34428-voronoilimit-varargin), MATLAB Central File Exchange. Retrieved June 29, 2021.
USED TO CLIP VORONOI TESSELLATION
. {INCLUDED IN PXO DISTRIBUTION} -
GMSH: http://gmsh.info/#Download. {MUST BE INSTALLED SEPERATELY, IF NEEDED}
-
Depriester et al., (2020). MTEX2Gmsh: a tool for generating 2D meshes from EBSD data. Journal of Open Source Software, 5(52), 2094, https://doi.org/10.21105/joss.02094. {MUST BE INSTALLED SEPERATELY, IF NEEDED}
-
https://uk.mathworks.com/matlabcentral/answers/474193-how-to-generate-points-in-triangular-lattice-pattern: Michael Madelaire on 31 Jul 2019.
USED TO MAKE TRIANGULAR LATTICE TO GENERATE HEXAGONAL VORONOI TESSELLATION
. {INCLUDED IN PXO DISTRIBUTION}. Original code is below:
clear all; close all; clc;
%% Triangular grid information
h_dist = 5; % Horizontal distance
v_dist = sqrt(h_dist^2-(h_dist/2)^2); % Vertical distance
%% Region size
x_lim = 100;
y_lim = 100;
%% Generate grid
trigrid = [];
y_current = 0;
xx = 0;
displacement = 0;
while y_current < y_lim
if displacement == 0
xx = [0:h_dist:x_lim]';
yy = ones(length(xx), 1)*y_current;
displacement = 1;
else
xx = [h_dist/2:h_dist:x_lim]';
yy = ones(length(xx), 1)*y_current;
displacement = 0;
end
trigrid = [trigrid; [xx,yy]];
y_current = y_current + v_dist;
end
%% Plot
figure()
plot(trigrid(:,1), trigrid(:,2), 'o', 'markersize', 2);
grid on;
xlim([-h_dist, x_lim+h_dist]);
ylim([-v_dist, y_lim+v_dist]);
Above has been reproduced in this wiki page to maintain original source. It has been modified (@sunilanandatheertha) accordingly to support PXO.
- Grigor Browning (2021). num2clip: copy numerical arrays to clipboard (https://www.mathworks.com/matlabcentral/fileexchange/8472-num2clip-copy-numerical-arrays-to-clipboard), MATLAB Central File Exchange. Retrieved June 17, 2021. {INCLUDED IN PXO DISTRIBUTION}
- Codes and documentations by Sunil Anandatheertha, PhD
General info
- Capabilities
- Image gallery
- Cited in
- Requirements
- Installation instructions
- Using PXO
- Licensing
- Sponsorship appeal
- Contributor: SA
- Acknowledgements
Space partitioning users
Grain structure users
- Start here
- Image gallery
- Video gallery
- Limitations
- Performance
- Validation
- Tutorials & test cases
- Voronoi Tessellation
- Best practices
- GUI
- PXO-mtex
- PXO-mtex-mtex2gmsh
Theory reference
- Ising model
- Pott's model
- Boundary conditions
- Kernel functions
- Material defs. and params.
- Space partitioning
REFERENCES
Listings