instruction stringlengths 43 28.1k |
|---|
I need to evaluate the following derivative:
$$\frac{1}{\prod_i \xi_i!}\frac{1}{\prod_j \eta_j!}
\left.\frac{\partial^{\xi_1 + \cdots + \xi_m}}{\partial\alpha_1^{\xi_1}\ldots\partial\alpha_m^{\xi_m}}
\frac{\partial^{\eta_1 + \cdots + \eta_n}}{\partial\beta_1^{\eta_1}\ldots\partial\beta_n^{\eta_n}}
\exp\left(\sum_{ij} a... |
I'm trying to train an L2-regularized L1-hinge loss SVM using vowpal-wabbit.
I use the following commands to train and test on the splice dataset:
time vw --passes 10 -c --loss_function hinge -f model.txt -d train_vw.txt --l1 0 --l2 1
time vw -t -i model.txt -p out.txt -d test_vw.txt
perf -ACC -files test.labels out.tx... |
I'm looking for an efficient, multicore, library to do incomplete cholesky (possibly modified). Many ILU code exists, but I can't find much about IC except in PETSC or Pastix. Could some of you drop me any library name ?
Thank you !
Tom
|
When going from the strong form of a PDE to the FEM form it seems one should always do this by first stating the variational form. To do this you multiply the strong form by an element in some (Sobolev) space and integrate over your region. This I can accept. What I don't understand is why one also has to use Green's f... |
Can you all give me (at least) one example about convection-dominated problem in order that I can test it (them) on FreeFEM++. If possible, please give me specific examples (it/they contain(s) full equations, boundary condition, initial condition, value of parameters, code in FreeFEM++,...)
|
I need to solve the following system of differential equations.
When I have the solutions for $n_f$ and $v$, I need to find and plot $J=-e_\cdot n_{f} \cdot v$.
I wrote a code in matlab with all ODEs like this:
function systemSolve
clc
tr=50e-12; % Recombination lifetime
n0=1e11; ... |
There are several variants of the simplex method known, which differ by the choice of entering and leaving variables. But neither have I found a reference, which variants are used in which applications, nor have I found an attempt to compare the run-time of those methods. I suspect that a fair share of these variants h... |
I need to build a system in Simulink that solves a PDE, but I can't find any literature or books where it is described how to do it (especially any stuff according to modeling PDE in Simulink).
Please give some advice where I can find such literature.
Thanks beforehand!
|
In discussing smoothing filters,
Numerical Recipes p. 772 says
... irregularly sampled data, where the values $f_i$ are not uniformly spaced ...
one can simply pretend that the data points are equally spaced ...
a rough criterion:
If the change in $f$ across the full width of the $N$ point window is
less than ... |
For a given 3D domain, two unstructured tetrahedral meshes M_1 and M_2 are generated. The average edge length in M_1 is double the average edge length of M_2.
Are there estimates on the ratio of the number of tetrahedra in both meshes?
|
I'm writing some image processing software to detect bubbles in oil at work. One of the image filters I need (Perona Malik) seems like it will take a long time to compute. (It involves solving some partial differential equations numerically). One possible solution I'm thinking of investigating is using a super computer... |
How to divide a surface to subdomains, which can be recognized in msh file? Avoiding duplicated nodes is necessary.
In general I have geo file which contains definition of smaller and bigger region, now I would like to assign different physical surfaces (tags) to both - but right now is impossible due to only one plane... |
Based on the variational principle, one might expect that the ground state energy of a density functional theory (DFT) calculation will decrease as the basis set size increases. (As I understand it, this is the case in Hartree-Fock.)
Mathematically speaking, is it in fact true that the DFT energy decreases with basis s... |
I would like to find the optimal set $ \{ x_i \} $ given $ L $ and $ \{ a_i \} $ that minimizes the problem below. My first thought was to use linear programming. Is there a transformation that makes it possible, or do I need a more general optimization technique?
$$ \min_{x_i} \left[ 2\sum_i | x_i | + \max_i | x_i ... |
The advection-diffusion problem, where $0<x<1$,
$$u_t = (-au + du_x)_x$$
with Dirichlet boundary conditions,
$
u(0)=1,~u(1)=0
$
, has the steady-state solution,
$$
u(x) = \frac{e^{\lambda} - e^{x\lambda} }{e^{\lambda} - 1}
$$
This of course assumes both $a$ and $d$ are constants and $\lambda=a/d$.
Q. Does this proble... |
I have a set of column vectors $[v_1,v_2,v_3,...,v_k]$ and I want to get the orthonormal basis $P$ for the range of those vectors. I use modified Gram-Schmidt to do orthogonalization. If $v_3$ is a linear combination of $v_1$ and $v_2$, when we orthogonalize $v_3$, it will return a $0$-vector. My problem is when a vect... |
In MPI, is there any built-in mechanism to notify a group of processes that they need to receive messages from other processes?
In my application every process needs to send data to a group of processes with known rank IDs (which potentially changes at each iteration), but they do not know the rank of the processes th... |
I would like some super simple computational code for solving magnetohydrodynamics problems. High accuracy nor performance is not my concern. I wan't it just to visually explore qualitative behavior of plasma. Important for me is:
Generality - it should not be specialised on any particular subproblem
of MHD
Easy to g... |
I'd like to do a $A=QR$ decomposition of a matrix $A$, with $m\times n$. I use dgeqrf_ (or dgeqp3_) to proceed to the first part of the decomposition. Then, I can easily compute the matrix $R$ by taking the upper diagonal part of the output matrix.
If $A$ is such that $m > n$, the Lapack subroutine dorgqr_ create the ... |
I need to examine the (static) electric field distribution around various electrode configurations in the presence of a dielectric, and have been using a finite difference approach to the 2D generalised Poisson equation do this. James Nagel's nice paper at
http://www.drjamesnagel.com/notes/Nagel%20-%20Numerical%20Pois... |
The discrete analogue of the $L_p$ norm for the mesh function $V$ is $$\|V\|_{l^p(\bar{\Omega}^N)}=\left(\sum_{i=0}^NV_i^p\bar{h}_i\right)^{1/p}$$
where $\bar{\Omega}^N$ is an arbitrary mesh, $\bar{h}_i=(h_{i+1}+h_i)/2$ and $h_i=x_i-x_{i-1}$. The error $e$ of a certain approximation is such that $e_i=-e^{-x_i/\epsilon... |
I would like to gain knowledge on available free or commercial tools to generate automatically structured mesh from geometry, particularly quadrilateral.
Which options do I have ?
|
I'd like to find a condition that allows me to determine if a matrix is invertible or not. naively, I computed the determinant to see if it was zero. but then I realized that even for very small values (1e-100), lapack is still able to find an invert matrix.
I read here that a $QR$ factorization can be used to compute ... |
After exporting the solution (u) and the mesh (p, e, t) from pdetool to workspace, I need to compute the solution at a set of predefined points. These predefined points where the solution is sought are not uniformly spaced and are scattered in the xy space. I know that if one has the solution (u) from pde toolbox, it c... |
I am trying to implement the following system of time-dependent, coupled nonlinear pdes in FEniCS:
$$\partial_{t}\rho+2\left(\nabla\rho\nabla\phi+\rho\nabla^{2}\phi\right)+2\sigma\rho\left(\rho-1\right)=0$$
$$\partial_{t}\phi+\left(\nabla\phi\right)^{2}-\frac{1}{2}\left[\frac{\nabla^{2}\rho}{\rho}-\frac{1}{2}\frac{\lef... |
On page 18 of SuperLU's user guide, the following sample input matrix A is given:
19,0,21,21,0
12,21,0,0,0
0,12,16,0,0
0,0,0,5,21
12,12,0,0,18
U matrix is given as follow in the user guide:
19,0,21,21,0
0,21,-13.26,-13.26,0
0,0,23.58,7,58,0
0,0,0,5,21
0,0,0,0,34.2
But dgssv() produces the following matrix, which is p... |
I want to solve this PDE:
Currently I have some code that will automatically generate pde solutions for a very similar pde that includes a time derivative (partial d/ partial t) using an ADI method.
I'm wondering if there is a way to approximate the attached pde with a pde that includes a time derivative?
I know ther... |
I need to generate an output file from my molecular data that can be loaded into VMD to visualize the bond connectivity. I'm not sure what the best choice is. I know the PDB format has a HETATOM record with a CONECT field, but I believe this is supposed to be used only for unusual connections or very small molecules.... |
I am taking a shot at solving a coupled physics problem. I have this matrix formed:
$\mathbf{J}=\begin{bmatrix}
\mathbf{A} & \mathbf{B}\\
\mathbf{C} & \mathbf{D}
\end{bmatrix}$
where $\mathbf{A}$ and $\mathbf{D}$ represent two different physics, and $\mathbf{C}=-\mathbf{B}^{T}$. Originally, I wanted to use the Schur ... |
Consider an instance of non-convexoptimization problem:
It seems that this problem is NP-complete. How can I find a suitable reduction for this?
|
I have a very sparse non-linear system $N(u) = 0$ that can be solved as a time-dependent ODE, $\frac{du}{dt} = N(u)$, and explicitly integrated until $\frac{du}{dt} = N(u) = 0$, e.g. by forward euler, $u^{n+1} = u^n+\Delta t N(u^n)$.
In the process of this numerical integration, is there any way to recover the eigenval... |
It seems to me many CFD codes in coding the turbulence models, uses the relation $\tau_{ij}{\partial _j}{U_i}=\tau_{ij}W_{ij}$ instead of using strain-rate tensor, i.e., $\tau_{ij}{\partial _j}{U_i}=\tau_{ij}S_{ij}$ for the sake of numerical friendliness, to estimate the production term $P_k=\tau_{ij}{\partial _j}{U_i}... |
I have a nonlinear inequality constrained optimization problem of the form
$$\begin{array}{cc} \min & f(x) \\ \textrm{s.t.} & g(x) \ge 0 \end{array}$$
where $x \in \mathbb{R}^n$, $f : \mathbb{R}^n \to \mathbb{R}$, $g : \mathbb{R}^n \to \mathbb{R}^m$. I am currently solving this system with pseudotransient continuation... |
I am performing series of random projections i.e. projecting the input matrix onto randomly generated orthonormal bases (of much lower dimensionality). The projection is just a matrix multiplication like $A \cdot B = P$, where $B$ is the basis composed of several mutually orthogonal column vectors of unit length.
I hav... |
Are there high order energy-conserving or symplectic methods for solving $y'=f(y)$?
|
I wish to solve a coupled system of non-linear equation of this form,
$$
u_t = -(\mathcal{F})_x + f(x,u,w) \\
w_t = \mathcal{F} + g(x,u,w)
$$
by stepping the equations forward in time. The first equation is the advection-diffusion equation with non-linear reaction term, and where the flux has the definition,
$$\mathca... |
I have implemented a V-Cycle multigrid solver using both a linear defect correction (LDC) and full approximation scheme (FAS).
My problem is the following: Using LDC the residual is reduced by a factor of ~0.03 per cycle. The FAS implementation does converge with a linear factor too, but the factor is only ~0.58. Thus ... |
I'm working on a parameter study of Duffing's equation
$\ddot x + \delta \dot x + \alpha x + \beta x^3 = \gamma \cos{\omega t},$
where $\delta, \alpha, \beta, \gamma$ and $\omega$ are real parameters and $\dot x := dx/dt$. Substituting $x \rightarrow u, \dot x\rightarrow v$ in the usual manner, the idea is to integrate... |
Suppose I am minimizing the following function:
$$g(\alpha)=\sum_{i=1}^n(y_i-f(x_i,\alpha))^2,$$
where $y_i$ and $x_i$ are data, $f$ is a known non-linear function and $\alpha$ parameter (of dimension larger than 1) of interest. Is it better to minimise
$$\frac{g(\alpha)}{n}$$
instead in order to guard against round-o... |
Computational Science People:
The title is the question. I am trying to numerically compute a certain integral over a square in Octave (an open-source Matlab clone). I'm getting the wrong answer. To show that something really is going wrong, I've created the following toy problem: Let
$f = \chi_{(-\infty, 1)}$ ($f... |
I am writing a program in C++ in which I am trying to reduce the run-time by computing eigen-decomposition of several matrices in parallel. This might be a programming question but since many Physics people might use it, I am asking the question here. This might be a simple example of how to perform computational tasks... |
I'm converting a piece of matlab code to python but I am having difficulty recreating the solution it finds for an overdetermined sparse matrix. The original code used the overloaded left division operator but I have recreated the results using linsolve(). I have compared the result with several scikit solvers (OLS, ri... |
I don't know if I have formulated this problem right:
I have tons of items and the distances between each pair of them. Feeding this data into some visualization tool, I am able to create a nice image of network with arbitrarily defined center of the coordinate. (Since I only have distances, which do not imply any coor... |
Sorry for the noob question. I'm using Matlab version R2012b on a computer that's running 64 bit Linux. It seems that no version of Matlab's parallel computing toolbox will work for me. Can anyone please tell me if I'm wrong, or else confirm that I'm correct? Thanks.
|
I'm using umfpack for solving large systems of equation. However, I'm constantly getting out of memory issues for even modest size problems as pre2, torso3, ohne2 Hamrle3 (all from Tim Devis's collection). The useable memory is 44GB in machine where I'm trying to run.
These problems are not too big that index would be ... |
The 3.0 version of the MPI standard formally deleted the C++ interface (it was previously deprecated). While implementations may still support it, features that are new in MPI-3 do not have a C++ interface defined in the MPI standard. See http://blogs.cisco.com/performance/the-mpi-c-bindings-what-happened-and-why/ fo... |
How is the nullspace correction implemented in the PETSc conjugate gradient solver? I searched the source code and documentation, but could not find references on the actual implementation.
For background, I am solving linear systems arising from a bilinear form which is elliptic in a quotient space $\mathbb{R}^n\big/\... |
The title is not the best but since I have no clue what I'm actually searching I simply used something broad. I'm searching for a an algorithm, a class of algorithms or at least keywords I can use for further research.
Essentially I'm searching for a hash-like function that takes an input and boils it down to a much mo... |
Let us have simplicial mesh and continuous function $u$ which is piece-wise linear and non-constant on every cell. Then normal vector to level-sets of $u$ is given $$\mathbf{n}=\frac{\nabla u}{|\nabla u|}$$ and is piece-wise constant function. What is then possible definition of curvature $\kappa$ which would be for $u... |
I need to run the pdetool analysis several times for different values of pde coefficients. Repeating this procedure for different meshes is not convenient using the pdetool GUI.
Is there a way to automate the whole process via a .m file? The .m file should read the pde coefficients via the Matlab command prompt and sh... |
Which easy-to-handle software would you recommend me for creating energy level diagrams? What do you use and what is your experience? I'm recently working on my bachelor thesis and I would like to add some pictures to ilustrate Hund rules, Zeeman splitting, crystal field splitting and so on with option to customize the... |
I'm looking to write some code to read in a dense matrix from a file, and I was wondering what are the most common storage formats that my code should support?
|
What's the best solver that can solve a large sparse but indefinite matrix?
|
I have three sets of data, measured by three different devices: A,B and C of air balloon whose fall is influenced by wind and each data sheet looks like;
A:
Longitude Latitude Altitude Weight Rotation(about main axis) Time
... ... ... ... ... ...
B... |
I'm working on some adaptive discontinuous Galerkin codes for time harmonic wave propagation, currently just Helmholtz, but will be branching out once I have a working prototype in this case.
There are some papers out there demonstrating that residual based a posteriori estimators combined with a proper marking strateg... |
I need to solve an advection-diffusion equation of the form:
$\frac{∂u}{∂t}=\frac{1}{x}\frac{∂u}{∂x}+\frac{∂^2 u}{∂x^2 } $
with MATLAB. Could you guide me, please?
Is the Crank-Nicolson method proper method for this equation?
|
Consider the following optimization problem:
\begin{align}
\text{Min}_{i\neq j\neq s\neq t} |x_i x_j-x_sx_t|\\
s.t: Ax=b\\
x\geq 0;
\end{align}
This problem can be seen as an instance of non convex optimization problems. How can the NP-hardness be shown using a suitable reduction?
|
I am writing a program to compute the ground state energy for any closed shell atom using Hartree Fock Roothaan method, with GTO basis. The code works for the simplest case, the helium, but it fails with beryllium (z=4).
I understand that I have two Roothaan equations for two orthonormal orbitals:
$$F\vec{c}_i=S\vec{c}... |
The documentation for the indigo module can be found here
http://ggasoftware.com/opensource/indigo/api#inputoutput
So for instance if I have a molecule object for some SMILES string, e.g. "[C](=[O])", I wish to calculate the valency of each atom, for instance here the desired output would be [atom=C, unbound_electrons=... |
I am estimating parameters on a dataset that would, for the most part, result in a weakly constrained solution. The dataset however also contains a few more data points that make the solution well-conditioned. The issue is illustrated in an example of a simple line fit in the sketch below.
While the few constraining po... |
In Theorem 6.2 of their 2003 paper on "Mixed hp-DGFEM for incompressible flows. SIAM J. Numer. Anal., 40(6), 2171–2194", D. Schötzau, Ch. Schwab, and A. Toselli prove a bound of the $\inf$-$\sup$ constant of the Stokes problem which decreases by $1/k$ if $k$ is the polynomial degree of an hp-discontinuous Galerkin meth... |
I've got a function of form
$$f: (\mathbb{Z}_3)^n \rightarrow \mathbb{R}$$ to optimize, where $n$ is relatively large (the order of hundreds).
Is it there a gradient-like notion for these type of functions? Or does it make sense to define one?
Thank you.
|
This might not be the best place to ask, and if its not could someone please point me to where would be better, but here we go anyway.
Does anyone out there know of open source software which can be used for speckle interferometry with normal digital cameras? While speckle seams to be the standard, im happy to use othe... |
My question is about extracting observables from QMC methods, as described in this reference.
I understand the formal derivation of various QMC methods like Path Integral Monte Carlo. However, at the end of the day I'm still confused about on how to effectively use these techniques.
The basic idea of the derivation of ... |
Specifically, ode15i. I have ode15i solving a system of 5 first order implicit odes in 5 variables with an initial condition (made consistent by decic). It's great for what I need, except I need to add a final condition as well. Is this possible? I think (but am not sure) ode15s works too.
Edit: -
Edit 2: I think I fig... |
I have been looking into C++ linear algebra libraries for a project I've been working on. Something that I still don't have any grasp on is the connection of BLAS and LAPACK to other linear algebra libraries.
Looking through this article on linear algebra libraries I found it interesting that:
some libraries are indep... |
This is probably going to be an easy question for most people and embarass me. I've been reading the Zhang et al. 08 paper on detection-based tracking through network flows: http://iris.usc.edu/outlines/papers/2008/zhang-li-nevatia-cvpr08.pdf. In this paper, equation (11), the authors seem to go from: $-\log(1-\beta_i)... |
I have a n x 3 double containing x, y and z coordinates. Can someone tell me where did I go wrong?
store_y_temp=real(Y(Y>Iy));
store_z_temp=Z(store_y_temp);
Error:
Subscript indices must either be real positive integers or logicals.
|
I have a generalised matrix problem: $A x = \lambda B x$ from a spectral method on a linear stability analysis problem. My matrix B is diagonal and positive semi-definite. A is non-hermitian and complex.
My problem is essentially that when using the SLEPc generalised eigenvalue solver I get the error "zero pivot in LU ... |
I am solving a laplace equation on a finite-element mesh (tetrahedral, triagonal) and have many say 99% dirichlet conditions compared to the number of unknowns. Is there an efficient way to solve this kind of system?
To give an example for better understanding:
Total number of nodes: 100,000
Nodes Dirichlet: 99,000
Num... |
The maximum k-splittable s-t flow problem(MkSF) that aims to find a maximum k-splittable flow between a given source and sink node is NP-hard. We do not require the paths to be disjoint, not even different.
As a special case, just to be sure, is still computation of the k-splittable s-t flow in a directed network NP-h... |
I have X as a 616 x 1 double. I calculated the differences between adjacent elements of X by using:
Y=diff(X);
and get Y as a 615 x 1 double, containing positive and negative numbers, including 0 (zero).
If I'm using
Y=diff>0;
I'll get the answer as 615 x 1 logical, which is not the answer I'm expecting.
My questions... |
I am looking into full multigrid, FMG, and several sources, including these slides, that a lot of people are referring to, state that the prolongation operator used in FMG the first time you visit a finer grid should be of higher order than the prolongation operator used otherwise.
What is a concrete example of such a... |
I try to compute eigenvalues of the tridiagonal matrix coming from finite difference scheme. For small mesh size, eigs works well. But for large size it fails. Here is an example where eigs fails. Is there any other way to reliably compute a few eigenvectors in matlab ?
n = 1000; h = 1/n;
e = ones(n,1);
A = (1/h)*spdia... |
I am looking for a tool to specify pipelines of arbitrary multiple jobs with dependencies for the Sun Grid Engine. I can wire things together myself but I am hoping for something more declarative and reusable.
Can anyone recommend such a tool or has anyone adapted an existing build system/dependency manager for comput... |
I'm trying to solve numerically the 1-dim time dependent Schrodinger equation using the Crank Nicolson scheme and the Thomas algorithm to solve the tridiagonal matrix.
The physical system consists of a free particle moving in a region of costant (zero) potential, far away from the boundary of my domain.
At this time I ... |
I have a matrix A which is an approximation to the known matrix B. Both matrices are square, 3x3 matrices and, in this case, are symmetric. Is there a 'best' method for calculating percent error in the approximation? I had been using the sum the 'sum of squares' error for all entries divided by the sum of 'sum of squar... |
I have written an algorithm to solve a dense system with smoothly varying entries. This means I assume there is no large jump from any entry to its neighbors.
I would love to use real-application-generated matrix to test my algorithm, but I cannot think of any that satisfies my assumption out of my stupid head. Any sug... |
I wish to solve an equation of the form,
$$
\frac{\partial}{\partial t} \left( \frac{\partial \phi}{\partial x} \right) = -\frac{\partial}{\partial x}(\mathcal{F})
$$
for the variable $\phi$ (e.g. mass).
On the right-hand side is the flux $\mathcal{F}$ of quantity $\phi$.
This equation "looks like" an advection-diffu... |
I have a question that is similar to this one asked before except in 3D, and I only need the volume, not the actual shape of the hull.
More precisely, I'm given a small set of points (say, 10-15) in 3D, all of which are known to lie on the convex hull of the point set (so they all "matter" and define the hull). I only ... |
Consider a symmetric positive definite tridiagonal linear system
$$A x = b$$
where $A \in \mathbb{R}^{n \times n}$ and $b \in \mathbb{R}^n$. Given three indices $0 \le i < j < k < n$, if we assume only equation rows strictly between $i$ and $k$ hold, we can eliminate intermediate variables to get an equation of the fo... |
I have a transformation matrix which takes in the elastic constants from the local $rtl$ coordinates and then converts the elastic constants to the global $xyz$ coordinates via a rotation about the $z$ axis (i.e., $l$ doesn't change with respect to $z$, at lest at this stage). From what I gather the standard way to do ... |
What is the policy of multiple overlapping asynchronous transfers in MPI?
I have a program with several open asynchronous irecv operations. I find that transfers that could take place (the corresponding isend has been called) wait on other transfers that aren't yet ready (the corresponding isend hasn't yet been called... |
I'm trying to write a perona malik anisotropic diffusion filter for the GPU.
I'm basing my shader off a matlab implementation of the filter. I'm running into trouble because of what I suspect is floating point arithmetic issues.
I have a line in my shader
float cN = 1 / pow( 1 + (nablaN / k), 2);
cN always evaluates t... |
We know that if the matrix $A$ is symmetric positive definite, the FOM (full orthogonalization method) and the GMRES are theoretically equivalent to the CG (conjugate gradient) and the CR (conjugate residual).
Can you introduce some good references in the CR, especially for the convergence properties of the CR?
|
I want to compute the Generalized Singular Value Decomposition for sparse matrices with a size of up to 1000000 x 1000000 (not necessarily square). The method is going to be used in machine learning (classification).
Currently I'm using the function ggsvd (here) from the LAPACK package which is a Fortran implementation... |
I'm searching for the minimum path between the minima of a potential surface that is already known on a grid.
(source: http://www.math.nus.edu.sg/~matrw/string/)
Any point on the path is at an potential minimum in all directions perpendicular to the path.
Is there any SciPy method or any other python package to comput... |
Sorry if this is a basic problem but I don't know where to start looking (mainly because being an outsider I don't know the terms and nomenclature).
Imagine two perpendicular lines ("profiles") in a "T" spatial arrangement. The lines are arbitrary (empirical functions should I say?) in the sense that they don't follow ... |
While I look up programming and technical stuff on Stack Overflow all the time, I figured that would probably be the wrong forum for a question like this.
Some background: I'm a climate modeler working on paleoclimates and data comparison for warm climate modes, and I've been writing ice sheet models in C and C++ for ... |
I'm working on a finite-volume discretization method with implicit time-integration for the incompressible Navier-Stokes equations in Arbitrary Lagrangian-Eularian (ALE) form. So far I've tested the implementation using manufactured solutions similar to the ones by Etienne e.a., JCP 228 (2009). However, I'm also lookin... |
I am wondering whether there is some very good mailing list or google groups for Computational Science, where we can discuss questions instead of only asking and replying questions.
In fact, I am more interested parallel computing and numerical solutions of PDEs. But I don't know what and how people in this area are do... |
I am trying to simulate the gravitational interaction between many bodies. I am using a direct PP force calculation and a 4th order symplectic integrator with a variable step size.
The energy of the simulation is calculated by this function:
real energy(body* system,int n){
int i,k,j;
real energy_var=0;
for(i=0... |
Metis is purpose-built for partitioning graphs and unstructured meshes one uses in finite element/volume methods, and it works great for this.
I have a 3D structured multi-block topology, where each $ni\times nj\times nk$ block can only be partitioned along planes, as opposed to an unstructured topology where the parti... |
Question
Are there libraries out there that implement block Krylov subspace methods? (I was not able to find any from a simple Google search.)
Background
Right now, I am working with a code that solves several systems of the form
\begin{align}
Ax_{i} = b_{i},
\end{align}
where $A$ is $n$ by $n$, $i = 1, \ldots, m$, and... |
Let's say I have two molecular dynamics (MD) simulators, A and B, which implement the following interface:
$$ \left\{\vec{x}_i(t = 0), T_i, t \right\} \rightarrow \left\{\vec{x}_i(t), \vec{F}_i(t) \right\} $$
where $\vec{x}_i$ is the position of atom/ion $i$, $T_i$ is the type of atom/ion $i$ (e.g. hydrogen or carbon),... |
I'm looking to learn more about Sparse Optimization and apply it to machine learning problems. Could you please recommend some books/resources on this topic? Both theoretical and applied are fine.
|
Say I have an expression involving adds, subtractions, and multiplications. I know that it is safe to assume commutativity, associativity, distributivity, etc., and would like to automatically generate a simpler expression which involves fewer operations. All interesting variants of this problem are NP complete, but ... |
I have recently started using Lapack++ which I found convenient for my programming purpose, in general.
Now, I need to solve a matrix using QR algorithm. I've searched the user manual
and I found a LaGenQRFactComplex Class for the purpose. But it need a complex matrix type as input parameter (as per my understanding).... |
Given a time-dependent measure of error, $e(t)$, and a time-dependent function to normalize it with, $f(t)$, one would report the normalized error as $$E(t) = \left|\frac{e(t)}{f(t)}\right|.$$ However, if $f(t)$ passes through zero at certain times, $E(t)$ will be very large near those instances, despite the fact that... |
Say you have a system of ODE's where the Jacobian has one zero eigenvalue; what does that tell you about the stiffness of the system?
This case doesn't seem to be discussed in the cases I have been able to find (Stiffness ratio or stiffness index).
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.