Skip to content
#

numerical-methods

Here are 1,445 public repositories matching this topic...

ivan-pi
ivan-pi commented Apr 23, 2021

Description

A function to pad a string with zeros or another symbol to a given width could be helpful in many cases, especially together with the to_string() function for integer to string conversion.

Currently available methods to achieve this are using concatenation

width = 32
str = "hello"
padded_str = repeat('0',width-len(str)')//str

and perhaps also internal file I/O

santiagobadia
santiagobadia commented Aug 12, 2020

A point load can be mathematically represented as a distribution, e.g., a Dirac delta. It breaks the Gridap flow, since one cannot use Gauss quadratures and numerical integration (what we usually do in FEM) to compute the integral of f*v in that case.

I don't want to consider hacks, e.g., touch the vector entry in a particular node in which you want to put the force (assuming the force is on

probnum

Improve this page

Add a description, image, and links to the numerical-methods topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the numerical-methods topic, visit your repo's landing page and select "manage topics."

Learn more