instruction stringlengths 43 28.1k |
|---|
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).
|
Please can you help me with my problem? On Wikipedia, in article Discrete sine transform, this is written (chapter Computation):
"Although the direct application of these formulas would require O(N2) operations, it is possible to compute the same thing with only O(N log N) complexity by factorizing the computation simi... |
My main interest is sparse matrix-vector and matrix-transpose-vector multiplication of the form y=y+AA'x. Is there any library that performs y=y+AA'x efficiently? I have investigated SPARSKIT, MKL, ARPACK,... but I was not able to find the related routine. Isn't the y=y+AA'x operation widely used?
|
I have been working on a transient simulation, using the SST k-w turbulence model in Fluent(TM). An unsteady boundary condition is used: at the beginning of the simulation the flow is laminar and gradually becomes turbulent.
This is where I am getting a bit confused.
When describing the numerics of my model, should I g... |
I need to implement a non-linear fitting algorithm in Fortran and chose to use MINPACK's flavor of the Levenberg-Marquardt algorithm as a basis for the least-squares stuff. However, I seem to misunderstand something very basic about how these routines are to be used. My understanding is that I have to call the routine ... |
I wrote the following program to solve the three body problem (Sun, Earth, Jupiter), initializing the system such that the total angular momentum is 0. The result of the simulation is really bad (and the Sun tend to infinity). I looked at the code for more than an hour trying to find the problem. Does anybody see what ... |
I am trying to calculate all of the eigenvectors/eigenvalues of large (40000x40000), sparse, asymmetric matrix. I am using MATLAB and have 3 GB of working memory. The way I am calculating them is by sweeping through (as suggested here -http://www.mathworks.com/support/solutions/en/data/1-A0QRGR/index.html?product=SL&... |
Suppose we are given the Stokes equations with Neumann conditions on part of the boundary:
$-\nabla\cdot\boldsymbol{\sigma} = \mathbf{f}, \quad \text{and} \quad \nabla\cdot \mathbf{u} = 0 \quad \text{in} \quad \Omega$
Here $\boldsymbol{\sigma} := \nu(\nabla \mathbf{u} + (\nabla \mathbf{u})^T) - p I$, and $\mathbf{u... |
I am brand new to slepc4py and petsc4py (and SLEPc and PETSc in general), and I have a few basic questions. I apologize if these have been answered somewhere - I've looked around for a while and haven't had much luck. If you know the answer to one (or more) of these questions, I would very much appreciate your insight.... |
I have produced a CSV file in the following format:
position number | list of positions it links to | 2nd list of positions it links to | ... | 6th list of positions it links to
All the items are integers and the lists are of varying size.
The file forms a kind of tree or web (it's a game tree).
I would like to visua... |
I have a program which compares the similarity of two images for different positions, so my surface consists of points which correspond to X and Y translations each with a value (mutual information).
Here is an example of a surface I want to be ranked as very good:
And this is an example of surface which needs a low r... |
I have a large VTK file with rectangular data, it seems Paraview cannot handle the size of the file, so it crashes and Visit navigation is extremely slow? Can anyone point me to good open source visualization software?
|
I was reading an article where they have a set of pages. For every page they extract a feature vector of dimention 300. Then they fuse these vectors into one vector by using a method called average pooling: Quoting : " to encode sets of pages into a compact document representation. The main idea consists of performing ... |
I have written a molecular dynamics simulator with a single potential function (lennard jones). I initialise the temperature of the system using a Boltzmann velocity distribution.
Is there a standard way of verifying that it works? E.g. some pressure/temperature calculation for a known element?
Thanks
|
I am learning PETSc following the tutorials of the distribution (version 3.4.1). My question is about the KSPView(ksp,PETSC_VIEWER_STDOUT_WORLD); (line 216) of ex7.c (KSP tutorial).
It teaches how to use PCBJACOBI, setting different solvers for each PC block. When I use
mpirun -n 4 ./ex7 -m 20 -ksp_type cg
the output... |
I would like to construct a Finite Element basis by using a generalized Vandermonde matrix. The idea is to compute the values of a suitable modal basis ('prime basis') at a set of points in reference space and express the values of Finite Element basis functions as a linear combination of the members of the prime basis... |
I have written some code, to produce some data. In what I have shown below, the output is just one-dimensional array of numbers. I have an analytical expression for what the autocorrelation function of this data should look like. My problem is, that it doesn't look like that, when I use matlabs built-in function xcorr.... |
I'm trying to place multiple light sources on a 2D plane, in a fashion that satisfies multiple constraints. The 2D scalar distributions are the irradiance distributions of each light source that are functions of a 3D poisition vector and 2 orientation angles.
I want the lights to be set up to satisfy certain constraint... |
I want to solve the (convex) optimisation task:
$max_{r,z}\quad r$
subject to the following two constraints
$r\|x_i\| - x_i^Tz \leq 0 \qquad \forall i=1,\dots, N $
$\|z\| \leq 1$
$r\geq0$
$r$ is a scalar, $z$ is a vector, the $x_i$'s are vectors of the same dimension and $\|\cdot\|$ is the simple eucl. norm. One can a... |
From mathematica.stackexchange:
Is it possible to define a Malliavin calculus with Mathematica 9?
Consider a random variables on the Wiener-space $\Omega=\mathcal{C}([0,1])$ of the form $$F=F(\omega)=\displaystyle\int_{0}^{T}h_{t}dW_{t}$$ for some deterministic $h(.)$ in $L^{2}[0,T].$
Here, $\omega$ is a path in the W... |
I don't know much about GPU computing at the moment, so please pardon the simple question. Can one invert local matrices in parallel on the GPU? CUBLAS doesn't seem to support factorization, and most of the LU/QR/Chol libraries I've found for GPUs aim instead to accelerate a single direct factorization.
For example, ... |
Recently I am using Umfpack with Intel MKL BLAS. To link the library to a program one has to link mkl_rt.lib / mkl_rt.so. However there is no word which version: sequential or parallel of library is linked.
Anyone could help?
Thanks in advance.
|
I need to compute the integral $\int_{\mathbb{R}^3}f(x)\, dx$, where $f$ is a matrix-valued function $f:\mathbb{R}^3\to\mathbb{R}^{3\times 3}$. How do I do that using MATLAB? The function $f$ is implemented in a seperate file. It takes as input three vectors, giving the $x$-, $y$-, and $z$-coordinates of the points in ... |
What is the quickest and simplest way to graph or visualize numerical data that is output as text files?
Transferring to Matlab is slow, Excel is clunky, things like automatic scaling are essential.
|
I am working on some ill-conditioned large sparse linear system of equations. I want to use double-double arithmetic or quad-double arithmetic to solve them. I know that there is a package named MPACK developed by Nakata, Maho, which can perform numerical linear algebraic computations under quad-double arithmetic. Howe... |
This is an attempt to extend an idea from Computer Science.. the dynamic programming based solution of the rod cutting problem (given a rod of an integral length and an array of prices for each integral value of the length, find the optimal cuts that maximize profit). Thinking about it made me wonder.. what if we were ... |
If a physical model is not listed in the wizard, we can use Comsol's weak form to enter PDE's (governing equations of a system) in their weak form. How can it be done ?
for example: 2 equations of momentum (2D flow) coupled with continuity equation
$\rho \ v.\nabla v=-\nabla p +\mu \nabla^2 v$
$\nabla .v=0$
This model... |
I recently encountered a problem that looks like a variation of bin packing or knapsack problem, but with the objective to maximise the number of bins/knapsacks:
Consider there is a list of M items with positive values v1 to vM respectively. There is also a standard size of bins which carries at most C items. The obje... |
There is an obvious difference between finite difference and the finite volume method (moving from point definition of the equations to integral averages over cells). But I find FEM and FVM to be very similar; they both use integral form and average over cells.
What is the FEM method doing that the FVM is not? I have r... |
Is there any libraries(python is preffered) for generation rectangular 3d mesh (for using with the finite difference method), which will be consistent with boundaries? (I've asked this question at stackoverflow, but nothing)
|
I have a set of points, among which a subset needs to have the same color in vtk file format. For ex. all agents with table value
0.0, 0.0, 0.0, 0.0
will have same color. Here is my vtk
POINT_DATA 11
SCALARS Gid FLOAT
LOOKUP_TABLE table
0
1
2
3
4
5
6
7
8
9
10
LOOKUP_TABLE table 11
0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0
... |
I am solving a coupled system of non-linear PDEs in 1D. Something like,
$$
u_t = F_1(u,v,w) \\
v_t = F_2(u,v,w) \\
w_t = F_3(u,v,w)
$$
where each variable is a function of $x$ (the spatial dimension).
So for each point in space I wish to calculate the Jacobian of the vector,
$$
\boldsymbol{F} = \pmatrix{F_1(u,v,w) \\ F... |
I would like to know if there is a quick way to compute the Euclidean distance of two vectors in Octave. It seems that there is no special function for that, so should I just use the formula with sqrt?
|
I'm new to opencl but I have some experience using HLSL. In HLSL multiple passes are used when you need to finish a computation before moving on to the next step.
I would like to know how this sort of thing is done in opencl.
I am writing an image filter as below
float4 Convolution(__read_only image2d_t srcImg, int2 po... |
I am looking into upgrading to a High Performance Computing work-station to do mostly computational fluid dynamics computations and some fundamental numerics. The CFD software that is available does not support GPU/CUDA. Aside from sufficient RAM and appropriate number of processors, the major bottleneck for my computa... |
After reading some stuff on STL files, I realized that they do no contain information about a mesh (connectivity for instance) , but they represent the surface geometry of the part to be meshed.
However, some available tools like the open source Gmsh, could import the STL file and create the mesh from the defined vert... |
I am solving 3D time-harmonic Maxwell FDFD problems (which result in huge sparse linear systems) using BiCGStab(l). I have tried out a bunch of different methods and for my specific use case, it seems like this algorithm outperforms the other common ones such as BiCG and restarted GMRES in terms of total solution time.... |
I have a program that does some setup work, forks several times, and exits. The child processes do most of the heavy computing.
Will torque kill the child processes when it detects the parent process exiting?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.