Git Product home page Git Product logo

quaycle.jl's People

Contributors

shipengcheng1230 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

quaycle.jl's Issues

Bug when specifying nonzero buffer

There is a problem when assembling the stiffness tensor when adding a buffer zone. It violates the basic FFT procedure if not extending the fault length accordingly.

Plan for v0.5.0

  • New modeling API to accommodate various input type

  • Distributed BLAS using COSMA

  • CUDA integration

  • New solution saving interface

  • Remove Green's function API

  • No mixed stress/strain components in 3D

Check if cubes are overlapped

@inbounds @fastmath @simd for i in 1: numelements
ntag1 = es[3][1][numnodes*i-numnodes+1]
ntag2 = es[3][1][numnodes*i-numnodes+2]
ntag4 = es[3][1][numnodes*i-numnodes+4]
ntag5 = es[3][1][numnodes*i-numnodes+5]
reverse && begin ntag2, ntag4 = ntag4, ntag2 end
p1x, p1y, p1z = nodes[2][3*ntag1-2], nodes[2][3*ntag1-1], nodes[2][3*ntag1]
p2x, p2y = nodes[2][3*ntag2-2], nodes[2][3*ntag2-1]
p4x, p4y = nodes[2][3*ntag4-2], nodes[2][3*ntag4-1]
p5z = nodes[2][3*ntag5]
T[i] = hypot(p1x - p4x, p1y - p4y)
W[i] = abs(p1z - p5z)
L[i] = hypot(p1x - p2x, p1y - p2y)
q1[i] = x1[i] - L[i] / 2 * cosd(rotate)
q2[i] = x2[i] - L[i] / 2 * sind(rotate)
q3[i] = x3[i] - W[i] / 2

New Tools

A number of features for analyzing results:

  • saving procedure (functional callback)
  • max velocity for various input types
  • cumulative slip (integrate slip into odes?)
  • moment magnitude
  • event detection
  • stress drop (energy-based (Noda et al., 2013))

A number of features for usage:

  • FFTW flag & threads options
  • Devectorize computation for better handling buffer zones
  • Further minimize allocation (mostly from out-place FFT)

Noticeable performance degrade on Julia 1.2-rc2

Given BP1:
on 1.1

julia> @time sol = solve(prob, TsitPap8(), reltol=1e-6, abstol=1e-6);
  1.411736 seconds (1.55 M allocations: 78.117 MiB, 6.79% gc time)

on 1.2-rc2

julia> @time sol = solve(prob, TsitPap8(), reltol=1e-6, abstol=1e-6);
  5.128751 seconds (7.36 M allocations: 675.122 MiB, 6.69% gc time)

Useful utils function

Various utils function dealing with velocity, stress drop, catalog.

Integrate with plotting lib for basic quick visualization.

Decouple

Need to decouple mesh, assemble, greens_function etc.

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.