ย
ajacquey / ddmfrictionalslip.jl Goto Github PK
View Code? Open in Web Editor NEWA Displacement Discontinuity Method (DDM) implementation for fault slip
License: MIT License
A Displacement Discontinuity Method (DDM) implementation for fault slip
License: MIT License
The output files are found in the package installation folder instead of the folder where the script is.
The collocation matrix has a few properties (symmetric if order 0 as an example).
Should make use of these properties to fasten the assembly.
The goal of this issue is to enable multithreading for the linear solver.
I found out that when using sparse matrices, IterativeSolvers.jl
is not parallelized because of sparse matrix/vector multiplication.
I have several options here:
_threaded_mul!
function using Threads
. This could be challenging as the Jacobian is not symmetric for PWLC and PWQC (for PWC, it is symmetric). Here is a solution for symmetric matrices: JuliaLinearAlgebra/IterativeSolvers.jl#203MKLSparse.jl
. Apparently, loading this package would allow multithreaded sparse matrix/vector multiplications.Currently, we reallocate the Jacobian after initializing the problem (because we have the correct number of dofs after initializing).
For large system, this can take a large amount of time!
Fix:
Update n_dofs
in the addVariable!
function everytime.
Just check value of n_dofs
during the initializing.
CSV.jl
seems to be compatible with multithreading when reading/writing csv files.
Should investigate if replacing DelimitedFiles.jl
with CSV.jl
would make sens.
Extend the structure of the code for solving multiple coupled variables.
Currently, I am rebuilding the entire collocation matrix for each non-linear iteration.
In practice only the diagonal components of the collocation matrix are modified throughout the simulation.
To speed-up the simulations, one should:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.