Top new questions this week:
|
I’m, in the context of FEM. Let’s say I have a discrete function $g$ living on the boundary of my domain $D$. I need to compute numerically $||g||_{1/2,\partial D}$. The definition I know is the …
|
I am considering to solve complexed PDE systems, like in this post, using Comsol MultiPhysics. The PDEs are different from the General Form provided by Comsol. The Weak Form module may be worth a …
|
I’m learning scipy.optimize.minimize. I thought of a simple function to see how it works: $$f(x) = x$$ With the goal to minimise $f(x)$, subject to the constraint …
|
I am trying to create a sweeping surface, for which I need the frenet frame of a curve. I am trying to compute this for arbitrary curves but for testing I am just using the parametric unit half circle….
|
In this resource the linear (barycentric) elements are explicitly given: The geometry placement of higher order elements is also given but not expression for the polynomial of $P_2$ is given. I am …
|
I want to understand the data structure of elements, elements around elements, and so on, and various other data structures in FEM, could you please recommend some books?
|
For my thesis, I have to implement the CCZ4 formalism into an existing code (I tried to type the evolution equations here but does not seem to work). However, I can’t seem to come up with a scheme to …
|
Greatest hits from previous weeks:
|
I need to write some data from a computation, that will be read later by Paraview (.vtu or vtk file). When it comes to file size , should I go for the ASCII format or the Binary format ?
|
What is the best way to get a visual appealing plot of a singular vector field (if you want to visualize also the field strength). As an example I am playing with the electric fields of two point …
|
For a project, I have to implement these two methods and compare how they perform on different functions. It looks like the conjugate gradient method is meant to solve systems of linear equations of …
|
Going to teach students of undergraduate level a course titled Introduction to Computer Programming. I am confused a bit. In Computational Physics scientists use C/C++ or Python or Fortran,CUDA etc…….
|
$A$ and $B$ are $n \times n$ matrices and $v$ is a vector with $n$ elements. $Av$ has $\approx 2n^2$ flops and $A+B$ has $n^2$ flops. Following this logic, $(A+B)v$ should be faster than $Av+Bv$. Yet,…
|
I’ve come across compression algorithms, I tried creating a simple run-length encoding algorithm but I notice that when I searched other algorithms I was shocked to know that some algorithms can …
|
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 <...
|