GithubHelp home page GithubHelp logo

drex-matlab's Introduction

Drex

What is it?

Drex simulates the rotation of crystal orientations and development of preferred orientations in a deforming olivine aggregate.

Motivation

The development of crystal preferred orientations in olivine (and other minerals) has important implications for understanding the dynamics of the earth's interior. Various computer models have been developed to simulate the rotation of crystal orientations in olivine aggregrates, but they have proven difficult to use. This is a version of the popular Drex model, implemented with user-friendliness in mind.

Requirements

Drex requires Matlab 2014 or later. No additional toolboxes are required to run the program.

Installation

No installation is necessary.

Usage

The code does not require input arguments and can be run by calling the program in the MATLAB command window or pushing the green "Run" button. User-adjustable parameters can be found in Drex.m. See the Drex.m file for additional information.

The Latest Version

Details of the latest version can be found on the github project page under server project page under https://github.com/cthissen/Drex-MATLAB

Contributors

Christopher Thissen, Yale University. [email protected] with contributions from Mark Brandon, Yale University

Feedback

Your comments are welcome! If you find any bugs or have feature requests report them to Christopher Thissen, [email protected].

Issues can also be reported online: https://github.com/cthissen/Drex-MATLAB/issues

License

See License file.

drex-matlab's People

Contributors

cthissen avatar

Stargazers

 avatar Xiaochuan Tian avatar  avatar Nicholas Rathmann avatar  avatar  avatar  avatar Wensi Rong avatar lpk-py avatar Ralf Hielscher avatar

Watchers

Ralf Hielscher avatar  avatar

drex-matlab's Issues

some errors i don't konw how to deal with

Hi Christopher,

I am a greenhand to use the matlab,and long for some matlab code for crystallographic orientation especially on HCP material. I am so happy find your code and try to read them.But I encounter a problem about running the code. the errors:

Drex
Warning: Name is nonexistent or not a directory: Contour
In path at 109
In addpath at 86
In Drex at 95
Warning: Name is nonexistent or not a directory: export_fig
In path at 109
In addpath at 86
In Drex at 96
Warning: Name is nonexistent or not a directory: dispstat
In path at 109
In addpath at 86
In Drex at 97
Warning: Name is nonexistent or not a directory: colormaps
In path at 109
In addpath at 86
In Drex at 98
Warning: Name is nonexistent or not a directory: functions
In path at 109
In addpath at 86
In Drex at 99
10:02:54 Looping over timesteps:
10:03:10 finished
Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in Drex>writelpotofile (line 415)
fprintf(fid,'%7.3f %7.3f %7.3f %01.5f\n', LPO.Final.eulerAngles(i,:)*180/pi, LPO.Final.volumeFraction(i));

Error in Drex (line 309)
writelpotofile(LPO,Flow,Grain);
8.3.0.532 (R2014a) window7

mtex

Hi Christopher,

I just stumbled on this extremely well written peace of code. I like it very much.

Could you imaging to develop you code such that its fits well with the mtex toolbox. Maybe this would increase readability and visibility.

All the best,

Ralf.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.