Efficient Neighbor Search for Particle-based Fluids

Size: px
Start display at page:

Download "Efficient Neighbor Search for Particle-based Fluids"

Transcription

1 Journal of the Appled Mathematcs, Statstcs and Informatcs (JAMSI), 2 (27), No. 3 Effcent Neghbor Search for Partcle-based Fluds JURAJ ONDERIK Comenus Unversty Slovaka, Bratslava and ROMAN ĎURIKOVIČ The Unversty of Sant Cyrl a Metod, Trnava, Slovaka Abstract Lagrangan partcle-based anmaton s a popular strategy for smulatng complex phenomena as fluds. Due to ts nherent mesh-less nature the set of neghbor partcles wthn a specfed range must be effcently found. In ths paper we propose Cell Indexng a novel approach for searchng approxmate neghbor partcles necessary for effcent flud smulaton usng SPH. Instead of storng partcles nto a fxed 3D grd or hash map, we encode ther coordnates and ndex nto a to key. The lst of keys s then sorted usng lnear tme radx sort. A smple traversal usng H-mask (see subsecton (4.2)) can quckly accumulate approxmate neghbors wthout problematc cache msses of Spatal Hashng, large memory requrements of full 3D grds or O(n log n) tme complexty of kd-trees. Furthermore we can acheve sub-cell precson 1 by usng larger H-masks, whle havng only constant factor slowdown. Usng H-mask can substantally ncrease the precson of Spatal Hashng or 3D grds, however more cache msses or larger memory requrements arse. We have demonstrated our approach wthn a standard SPH based flud smulaton. Mathematcs Subject Classfcaton 2: I.3.5, I.3.7 Addtonal Key Words and Phrases: Neghbor Search, Cell Indexng, H-Mask, Mult-Phase Smoothed Partcle Hydrodynamcs 1. INTRODUCTION Physcally based anmaton of complex natural phenomena s a very actve topc among the whole computer graphcs research. Smulaton methods for rgd and deformable solds are been coupled wth varous flud smulaton methods. For both Euleran [Guendelman et al. 25; Carlson et al. 22; Losasso et al. 26] and Lagrangan approaches [Keser et al. 25; Solenthaler et al. 27] unfed soldflud smulaton technques has been proposed. Stll a number of ssues related to stablty, accuracy, realstc boundary condtons, performance etc. arse n any flud smulaton approach. Recent graphcs hardware allows huge parallelzaton of many tme consumng problems, thus smulaton algorthms has to be adapted. Generally flud smulaton technques solvng full 3D Naver-Stokes equatons can emal: juraj.onderk@fmph.unba.sk emal: roman.durkovc@fmph.unba.sk Comenus Unversty Slovaka, Bratslava

2 be categorzed as Euleran and Lagrangan. In Euleran approaches governng equatons are evaluated on a fxed mesh (usually a 3D grd), whereas Lagrangan methods can be both mesh-based or mesh-less. In both Lagrangan strateges mesh or partcles are not fxed the to doman, but are advected wth the flud. Ths can smplfy governng equatons (see secton (3)) and allows vrtually unlmted smulaton space. Besde these advantages, t s usually complex to extract smooth boundary representaton of nterfaces, correctly handle nterface tenson n small features as bubbles and droplets, perform complex remeshng (mesh-based technques) or alternatvely effcently fnd neghbor (closest) partcle pars (mesh-less technques). Besde full Naver-Stokes smulatons, several shallow water technques exsts, where flud nterface s smulated usng wave equatons. However, n combnaton wth Naver-Stokes equaton they can acheve qute realstc results.[thürey et al. 26; Irvng et al. 26] In ths paper we focus on Lagrangan partcle-base smulaton of vscous fluds usng Smoothed Partcle Hydrodynamcs (SPH). (see secton (3)) It s a mesh-less approach, where all physcal quanttes are sampled on partcle locatons. The nfluence of each partcle s only local 2 thus t s essental to fnd the set of neghbor partcles. Snce ths hghly affects further calculatons of flud dynamcs t becomes usually the bottleneck of the overall anmaton. In secton (4) we have extended the well known Spatal Hashng for varyng partcles support length (see subsecton (4.1)) and developed a novel neghbor search algorthm fxng several ssues of prevous methods. 2. RELATED WORK It s beyond the scope of ths artcle to gve an extensve overvew of the flud smulaton problematcs, therefore we focus here only to related Euleran and meshless Lagrangan works. 2.1 Euleran Grd-based Methods Snce ntroducng (by Foster and Metaxas) the smulaton of full 3D Naver-Stokes equatons to graphcs communty, an actve research started to mprove ther famous Euleran-based MAC-grd method[foster and Metaxas 1996]. 3 Stam proposed the popular extenson of the basc MAC by usng a sem-lagrangan ntegraton scheme and teratve solver of the pressure equaton.[stam 1999] Fedkw et al. developed a Partcle Level Set method for accurate nterface trackng.[enrght et al. 22; Enrght et al. 25] Advanced smulaton of meltng and flowng of hghly vscous, non-newtonan fluds (e.g. wax) were presented n [Carlson et al. 22]. Later Carlson et al. used dstrbuted Lagrangan multplers [Carlson et al. 24] for anmatng the nterplay between rgd bodes and vscous ncompressble fluds. Drect two way couplng between mesh-based thn solds and Euleran-based fluds was done n [Guendelman et al. 25; Losasso et al. 26]. Hong and Km [Hong and Km 23] use a Volume Of Flud (VOF) ndcator functon to smulate a two-phase flud flow and bubbles wth surface tenson forces. 2 Wthn a support dstance from partcles locaton 3 Nevertheless a full 3D flud smulaton n CFD engneerng has been already well establshed

3 Losasso et al. extended the partcle Level Set Method nterface trackng of multple nteractng fluds [Losasso et al. 26] and presented a cuttng-edge flud smulator. A generalzed soluton to modelng hydraulc eroson s presented by Beneš et al. n [Benes et al. 26]. Recently Chentanez [Chentanez 27] developed a method for anmatng ncompressble lquds wth detaled free surfaces usng Lattce-Based Tetrahedral Mesh. Octrees has been used to speed-up grd-based flud smulatons [Losasso et al. 24]. Further combng 2D heght-felds wth a full 3D Naver-Stokes smulaton near the nterface allowed effcent anmaton of large bodes of water.[irvng et al. 26]. Recently controllng flud moton whle preservng detals was successfully appled to both grd-based Lattce-Boltzmann Method (LBM) and Lagrangan Smoothed Partcle Hydrodynamcs (SPH).[Thürey et al. 26] 2.2 Lagrangan Partcle-based Methods Partcle-based smulatons were ntroduce to graphcs communty by Reeves. These anmatons of smple fountans and sprays were represented by uncoupled partcles, whch was nsuffcent for realstc flud smulaton. Later Desbrun et al. [Desbrun and Can 1996] started usng Smoothed Partcle Hydrodynamcs 4 (SPH) n computer graphcs to couple partcles and smulate anmatng hghly deformable bodes ncludng vscous fluds. Müller et al. further popularze SPH technque by anmatng a pourng water nto a glass at nteractve rates [Müller et al. 23]. By averagng vscosty, they extended the model to mult-phase fluds. [Müller et al. 25]. Snce the pressure force s computed locally usng explct ntegraton, ther model s sutable only for compressble and near ncompressble fluds. For stff fluds ncompressblty s acheved usng very small tme steps. 5 Premože et al. ganed ncompressblty by solvng the pressure globally (usng Posson equaton) wth an teratve lnear equaton solver. [Premože et al. 23] Ths technque s referred as Movng Partcle Sem-mplct (MPS). Clavet et al. descrbe a SPH based nteractve technque for smulatng vscoelastc and plastc fluds by connectng partcles wth temporary sprngs [Clavet et al. 25]. Unfed partcle-based SPH model for couplng solds and fluds has been presented n [Keser et al. 25] and later n [Solenthaler et al. 27]. Recently a successful approach of couplng SPH and Partcle Level Set has been done by Losasso.[Losasso 27]. Promsng results are shown by Harada when movng the entre SPH calculaton to GPU and precalculate the nfluence of sold boundary partcles. 6. Ther smulatng of 6k partcles run at 17 frames.[harada et al. 27a; 27b]. Further smplfcatons of SPH has been proposed by Adams et. al [Adams et al. 27] by adaptvely samplng partcles and allowng them to have varous szes. For sparse partcles Kpfer et al. developed novel technque for computng neghbor partcles [Kpfer and Westermann 26]. 4 orgnally developed by Lucy and Monaghan 5 Manly due to stablty ssues 6 Commonly sold-flud boundary condtons are solved by fxng partcles to the sold volume near the surface. Ths ncrease the number of partcles and lower down performance

4 3. MULTI-PHASE SMOOTHED PARTICLE HYDRODYNAMICS Inspred by Monte-Carlo ntegraton Smoothed Partcle Hydrodynamcs (SPH) was ntally developed by Lucy and Monaghan for smulatng flow of nterstellar gas wthn Astrophyscs[Monaghan 25]. Unlke tradtonal mesh-based methods (FEM, FDM) where physcal quanttes are evaluated on a fxed Mesh (grd), SPH belongs to mesh-less methods, where calculated values are approxmated from neghborng ponts (partcles). Partcles have no fxed topology, thus are sutable for complex dynamc phenomena as fluds. Due to the partcle-based Lagrangan nature of SPH mass conservaton s trvally satsfed and convecton of the substance s nherent. 3.1 Smoothng wth Partcles Gven a set of partcles (nterpolaton ponts) r carryng values A = A(r ) of feld quantty A we can approxmate A(r) at arbtrary pont r by a convoluton wth a radal symmetrc smoothng kernel W (r, h) as [Monaghan 25; Müller et al. 25] A(r) A W = A(r )W ( r r, h)dr V j A j W (r r j, h) (1) r j and further replaced by summaton over neghbor partcles havng fnte volume V j = m j /ρ j. Mass of partcles s a constant property, thus volume s defned as the raton between mass m j and densty ρ j. The convoluton smoothng kernel must have the followng propertes W (r, h)dr = 1 lm W (r, h) = δ(r) (2) h r where h s the kernels support length,.e. the dstance to whch partcle affects other partcles. Notce n lmt case h kernel W (r, h) must be the Drac delta functon δ(r). Makng the kernel second order dfferentable we can further express gradent A(r) and laplacan 2 A(r) of feld functon A(r) at arbtrary pont as A(r) = j V ja j W (r r j, h) A(r) = j V ja j W (r r j, h) 2 A(r) = j V ja j 2 W (r r j, h) Ths propertes greatly smplfy further calculatons of Lagrangan-based flud dynamcs. 3.2 Evaluatng Flud Propertes usng SPH The well known Naver-Stokes governng equatons of a smple Newtonan sothermal and ncompressble flud can by expressed n Euleran form by two conservaton laws,.e. the conservaton of mass (contnuty equaton) and the conservaton of momentum (momentum equaton) ρ t = ρ v (contnuty eq.) ( ) v ρ t + v v = p + µ 2 v + ρg (momentum eq.) (3) (4)

5 Lagrangan (partcle based) formulaton can be obtaned usng the materal dervatve Dq Dt = q t + v q.7 as Dρ Dt = ρ v ρ Dv Dt = P + µ 2 v + ρg (= F press + F vsco + F ext ) Assumng constant mass of all partcles total mass of flud s always conserved. we can thus completely omt contnuty equaton from further calculatons. Vewng the momentum equaton as Newton s second law (f = ma),.e. we only need to calculate forces actng on partcles. Notce the rght hand sde of the momentum equaton can be thus expressed as a sum of pressure F press, vscosty F vsco and external F ext force felds. Ths external force feld further contans all other force felds actng on flud (e.g. nterface tenson F nt or gravty F grav ) Assumng a fnte volume of partcles, we get the relaton between total force f actng on -th partcle and respectve force feld. Smply by ntegratng the force feld over the partcles volume, settng F = F(r ) and usng SPH approxmaton (equaton (3)) we get f = F(r)dr V F W (r r j, h) = V F W (r r, h) = F = V F (6) r r Flud Propertes. Assumng ρ j = m j /V j densty can be approxmated usng SPH as well. Further pressure P occurred at -th partcle s descrbed by Tat s equaton [Becker and Teschner 27] 8 ρ(r ) = (( ) γ ) ρ m j W (r r j, h) P = k gas 1 (7) ρ j Usng blndly the SPH approxmaton for pressure force f press and multphase vscosty force f vsco volates the acton-reacton prncple, snce the forces are not symmetrc (f f j ). Varous symmetrzaton approaches exsts among the SPH lterature (see [Rtche and Thomas 21; Monaghan 25]), however we adapt here to smplfed formulaton by Müller [Müller et al. 25], 9 where the pressure and vscosty s only averaged. 1 Notce partcle volume V = m /ρ s usng approxmate densty ρ computed n equaton (7). r (5) f press f vsco C nt = V F press = j P + P j V V j W press (r r j, h) 2 = V F vsco = µ + µ j V V j (v j v ) 2 W vsco (r r j, h) (b) 2 j = V j cj nt 2 W poly (r r j, h) (c) j (a) (8) 7 Snce partcles move wth the flud the convectve term v q s not present 8 An smpler alternatve s the deal gas equaton P = k(ρ ρ ) 9 See [Desbrun and Can 1996] for alternatve formulatons 1 Ths gves more stable smulaton, wth the cost of small energy dsspaton

6 C nt Interface tenson force f nt acts along the normalzed gradent n = of the C nt nterface color feld C nt (r) and s proportonal to ts curvature κ = 2 C nt. Interface color feld values C nt at partcle locatons are approxmated from partcles nterface color values c nt usng SPH (see equaton (8) (c)). Interface tenson force s thus defned as f nt = σ nt κ n = σ nt 2 C nt C nt C nt Smoothng Kernels. In our computatons we use the followng smoothng kernels adapted from [Müller et al. 23] and ts dervatves (see appendx (6)). W poly (r, h) = 315 { (h 2 r 2 ) 3 r h r = r 64πh 9 otherwse W press (r, h) = W vsco (r, h) = 15 πh πh Smulaton Overvew { (h r) 3 { r 3 2h 3 + r2 h 2 + h 2r 1 r h r = r otherwse r h r = r otherwse Our smulaton loop contans three man steps, namely the Neghbor Search, Force Computatons and the Tme Integraton. We use explct tme ntegraton, thus the overall smulaton can be categorzed as explct and force-based. (see algorthm (1)). As shown n the algorthm searchng for neghbor partcles (.e. buldng the lst of close partcle pars) s done n SearchNeghbors(h, H), where h s support length and H s the subdvson factor (see secton (4)). Next the force computaton s done by teratng over all partcles (lnes 2-15). Frst densty ρ s accumulated from neghbors (lnes 4-6), then pressure P s calculated (lne 7) and fnally total force actng on partcle s accumulated (lnes 8-14). Tme ntegraton s performed usng standard second order Leap-frog scheme (lnes 16-19). Ths looks smlar to the smple frst-order explct Euler scheme, however when the velocty s ntalzed 11 correctly as v = v (t 1 2 t) the code perfectly mmc the followng Leap-frog update rules (see equaton (11)) (9) (1) v (t t) v (t 1 2 t) + tf (t) m r (t + t) r (t t) + tv (t t) (11) Due to the explct nature of our method, only small tme steps are allowed to mantan stablty and accuracy. Formally, -th partcle can be ntegrated wth a maxmal tme step t accordng to the Courant condton of convergence 12 t t c = α h ( t = mn t c, α h ) (12) c v 11 The ntalzaton routne trval and s omtted here 12 Combatng numercal errors tme step should be even smaller.

7 In: support length h, subdvson factor H and delta tme t functon SPH(h, H, t) 1: Neghbours SearchNeghbors(h, H) 2: foreach P n Partcles do 3: ρ ; C ; 2 C ; f f ext /* ntalze */ 4: foreach P j n Neghbours(P ) do /* accumulate densty */ 5: ρ ρ + m j W poly (r r j, h) 6: end (( ) γ ) P k gas ρ ρ 1 /* calculate pressure */ 7: 8: 9: 1: 11: 12: 13: 14: 15: 16: 17: 18: 19: end foreach P j n Neghbours(P ) do /* accumulate forces */ P f f V V +P j j 2 W press (r r j, h) /* (= f press ) */ µ f f + V V +µ j j 2 (v j v ) 2 W vsco (r r j, h) /* (= f vsco ) */ C C + V j cj nt W poly (r r j, h) /* (= C nt ) */ 2 C 2 C + V j cj nt 2 W poly (r r j, h) /* (= 2 C nt ) */ end C nt C nt f f σ nt 2 C nt /* (= f nt ) */ end foreach P n Partcles do /* Leap-Frog */ v v + t f m r r + tv end Algorthm 1: Our flud smulaton step usng SPH where c 13 s speed of sound n the flud and α.3 s the Courant number. Stablty (for fast movng partcles) can be further ncreased by choosng t as n equaton (12). Choosng the global tme step as t = mn { t } s safe, but obvously neffcent. Snce usually only a few partcles wll need ths mnmal tme step, we can rather ntegrate each partcle usng ts own tme step t. Smlarly as Desbrun [Desbrun and Can 1996] to synchronze ntegraton of partcles we choose a user defned smulaton frame tme t max and fnd smallest postve number n satsfyng t = t max /2 n t and set partcles tme step to t. When the tme step changes, we must further correct the poston of the partcle as r r + ( t,new )2 ( t,old )2 8m f (13) 13 Materal property,.e. user defned constant

8 Boundary Condtons. In SPH context sold-flud boundary condtons are usually modeled by smply attachng ghost partcles 14 near the boundary nsde the sold object. Snce ts complex deformatons ths s a natural choce for deformable and meltng solds. However for pure rgd objects one can precompute the nfluence of ghost partcles (wth respect to bodes frame) to a dstance feld and further speed up smulaton omttng from them further calculatons. [Harada et al. 27a]. Interface Extracton. Realstc lookng vsualzatons can be acheved by extractng a smooth nterface representaton. Besde usng Marchng Cubes to extract the zero-level of the mplct densty functon ρ(r) = several attempts has been done. We refer nterested reader to [Adams et al. 27] for further detals. 4. NEIGHBOR SEARCH Smlarly to n-body problem, searchng for close partcle pars s a crucal problem n almost any partcle-based flud smulaton. Snce ths usually becomes the bottleneck of the smulaton tme, effcent algorthms are necessary. In the SPH context each partcle affects only a set of neghbor partcles whch le wthn ts support dstance h. Formally we defne for each partcle p ts set of neghbor partcle ndces N (h) as N (h) = { j r r j h} (14) Besde the nave and neffcent O(n 2 ) all-par-test, several algorthms usually based on spatal subdvson and fast approxmate neghbor search has been proposed [Teschner et al. 23; Kpfer and Westermann 26; Keser 26; Cohen et al. 1995]. Here we extend the usual Spatal Hashng (subsecton (4.1)) technque for faster SPH smulaton and propose a novel approach Cell Indexng (subsecton (4.2)) based on ndexng non-empty cells n a vrtual subdvson grd. 4.1 Extended Spatal Hashng A common approach to optmze the all-par-test s to subdvde the smallest enclosng axs algned boundng box (AABB) nto a 3D grd of cells wth sze h. For each partcle wth poston r = (x, y, z) we use ts relatve coordnates to AABBs mnmal corner c mn = (x mn, y mn, z mn ) and calculate ts (postve) cell coordnates cell(x, y, z, h) = (, j, k) (see (15)). Into each cell (, j, k) we could store ndces of partcles wth the same cell coordnates. Dependng on the AABB and cell sze rato, such voxelzaton obvously lead to huge memory consumpton. 15 Teschner et. al [Teschner et al. 23] overcome ths problem by ntroducng spatal hash functon hash(, j, k) whch naturally maps partcles cell coordnates to a bucket n a hash map. Ths enables grd sze to be vrtually unlmted and does not store empty cells. The hash functon s defned as ( ) x x mn y y mn z z mn cell(x, y, z, h) =,, = (, j, k) h h h (15) hash(, j, k) = ( p 1 xor j p 2 xor k p 3 ) mod M 14 For statc objects ther postons are not ntegrated 15 storng empty cells s not optmal

9 where p 1 = , p 2 = and p 3 = are large prme numbers and M s the sze of the hash map. Usng cell and hash functons nserton of a partcle s O(1) thus buldng the data structure for approxmate neghbor search s lnear. To fnd neghbors N (h) for -th partcle we need examne only partcles from all (26 n 3D) surroundng cells. Assumng the partcle dstrbuton s approxmately even, each cell contans only a constant number of partcles and thus overall neghbor search s near lnear. However n the SPH framework partcles can cluster 16. Ths leads usually to larger bucket szes 17 or slower hashng. To reduce ths problem we can naturally hash partcles nto smaller cells but then we need to examne partcles from more neghborng cells. Formally let h = h/(2h + 1) be the subdvded cell sze and H the subdvson factor. When calculatng approxmate neghbors of partcle n cell (, j, k) we need to examne partcles from all ( + s, j + t, k + u) cells, where (s, t, u) M H (h). The set H-mask M H (h) contans relatve coordnates of all neghbor cells whch are not completely outsde the support of processed cell. (see fgure (1) (d)) M H (h) = {(s, t, u) (h s, h t, h u) < h s, t, u { H,, +H}} (16) Fnally notce, that larger masks 18 completely contans smaller masks,.e. G < H M G (h) M H (h). Ths allows smulatons where partcles have dfferent support length. Indeed, assumng cell sze s h and partcles support s h we select H-mask for ths partcle accordng to H = h/h Hashng naturally ntroduce cache msses, thus examnng all M H (h) can even slow down the process 2. Wth larger H sze of hash map (M) must ncrease to avod numerous collsons. It can be estmated expermentally. 4.2 Cell Indexng Inspred by the staggered grds [Kpfer and Westermann 26] we have developed a novel approach for searchng approxmate neghbor partcles n a lnear tme, tryng to avod several dsadvantages of the spatal hashng. Smlarly to other grd methods we frst calculate the AABB of all partcles and use further only ther relatve coordnates to AABBs mnmal corner c mn. For each partcle we defne t s key(n,, j, k) as key(n,, j, k) = n + 2 I + 2 I+J j + 2 I+J+K k where 2 I > N 2 J > B x /h 2 K > B y /h 2 L > B z /h where n s ndex of partcle, N s the number of partcles, B x, B y and B z are dmensons of boundng box, (, j, k) = cell(x, y, z) are cell coordnates and I, J, K and are arbtrary constants 21 dependng on the sze of the AABB and cell sze h. 16 smulatng compressble (near ncompressble) fluds wth strong pressures 17 We assume all buckets have fxed sze as speed-up 18 wth larger subdvson factor H 19 Naturally ths raton must be reasonable small 2 Storng all ndces of H-neghbor cells leads to more memory usage and slowdown 21 usually 16 or 32 (17)

10 Notce, that functon key(n,, j, k) encode ts parameters to a unque key. Thus gven a key q we can compute unque (n,, j, k). 22 1N partcle key key order N+2 N+1 N+4 partcle ndex N-1 a b Same (,j) partcle ndex 2N 2N+2 3N 4N dfferent (,j) key order j key(m, m ) key(n, n ) m n key(m, m,j m ) key(n, n,j n ) j m j n non-empty cells partcle ndex c d N-1 ( +1,j -1) 2-mask partcle ndex -1 N+4 current mask ( -2,j -1) +1 Support regon j Fg. 1. Cell Indexng prncples. In (a) 1D case s shown. The left most column represents 1D space dvded nto cells. Dashed columns symbolze ndces of partcles. Each row thus contan all partcles wth equal -coordnate. Dotted lnes show the orderng of sorted keys. In (b) 2D extenson s llustrated. Notce the thrd dmenson depcts partcle ndex, thus has no geometrcal meanng. In (c) 1D searchng prncple s shown. The search follows key orderng, thus (n 1D) the -coordnate as well. Smple 1-mask (cells wth thck outlne) s show and respectve non-empty cells 1,, +1 (lght-gray cells). In (d) H-mask s extended to 2D showng ts non-empty cells and ther correspondng locaton n the mask. Snce the presented 2-mask s (n 2D) equal to the full 5x5 mask, the benefts of H-mask s not obvous from the pcture, however for larger H (or n 3D) one can clearly see, that some corner cells of the full (2H+1)x(2H+1) square mask wll be omtted n respectve sphercal H-mask. 1D Case. Suppose a 1D case show n fgure (1) (a), where the keys reduce to key(n, ) = n + 2 I. Gven two arbtrary partcles m and n wth keys key(m, m ) key(n, n ) ther cell coordnates also satsfy m n and vce-versa. After sortng 22 Partcle ndex s n = q mod 2 I, cell coordnates are = (q/2 I ) mod 2 J,

11 all keys, we can thus effcently access partcles wth ncreasng cell coordnates. Gven a key q ndex of assocated partcle s m = q mod 2 I. When buldng the neghbor set N(h) for partcle p whch les n cell we need to examne only partcles n cells 23 1,, + 1. Ths can be smply acheved by storng ndces K( 1 ), K() and K( +1 ) 24 of frst 25 keys n non-empty cells 1 < < +1. We examne all keys (assocated partcles) n cell 1 only when 1 = 1 startng wth key at ndex K( 1 ). Smlarly we examne cell +1 only when +1 = + 1. We are processng partcles n -th cell untl the respectve key maps coordnates of ths cell,.e. for each key q must hold q/2 I = q K() /2 I. Assumng the maxmum number of partcles nsde one cell s bound, ths traversal s O(n). However when smulatng partcles wth SPH ths upper bound s not guaranteed, but fortunately n average case there are only few partcles n one cell. To overcome partcle clusterng problem 26 we can choose the cell sze h = h/(2h+1), where H s a subdvson factor dependng on the flud propertes. When searchng for neghbors we need now to examne cells H < H+1 < < < +H 1 < +H and thus store 2H + 1 key ndces K( H ), K(),, K( +H ), what slows down the traversal by a constant factor O(H) per teraton. The algorthm thus stays lnear O(HN). 2D and 3D Case. The extenson to 2D and 3D s not obvous (see fgure (1) (b)). In 2D when key(m, m, j m ) key(n, n, j n ) then j m j n whle the order of m and n s non-decreasng only f j m = j n (j-coordnates are equal). When calculatng neghbors for partcle n cell (, j) we need to store all 9 key ndces K( s, j t ) s, t 1,, +1 and examne non-empty cell ( s, j t ) only when ( s, j t ) = ( + s, j + t). Furthermore n 3D we need 27 ndces K( s, j t, k u ) s, t, u 1,, +1 and examne non-empty cell ( s, j t, k u ) only when ( s, j t, k u ) = ( + s, j + t, k + u). We could generalze ths approach for cell subdvson takng s, t, u H,, +H or even better usng H-mask where (s, t, u) M H (h). The traversal s therefore n average case lnear wth complexty O( M H (h) N). Sortng Keys. To make the overall neghbor search algorthm lnear, we must sort keys n lnear tme. As ponted by Terdman [Terdman 2] even a set of floatng pont numbers can be quckly sorted n O(n) usng radx sort. Snce we have encoded ndces of partcles nto ther keys 27 we can use radx sort and have correct ndces after sortng. 5. IMPLEMENTATION AND RESULTS As shown n fgure (2) three dfferent smulatons of the classcal Dam-break test has been performed. Increasng the stffness and surface tenson coeffcent, flud behaves less compressble thus more realstc. In all three scenaros we used 16 partcles and set the rest densty ρ o = 1kg/m 3, mass m =.12kg, support length h =.5m vscosty µ = 5Ns/m 2 and used a fxed tme steppng wth 23 Assumng sze of cell s h 24 K() s ndex of key n lst of all keys 25 key n cell wth the smallest partcle ndex 26 Too many partcles n one cell 27 Keys are usually 64-bt numbers, 16 bts for each (n,, j, k) component

12 delta tme t =.2s. The surface tenson coeffcent σ vared from.6 (top), 1.4 (md) to 2.2 (bottom). We set stffness k gas to 2Nm/g (top), 4Nm/g (md) and 7N m/g (bottom). Boundary condtons are handled by nelastc partcle-plane collson resoluton wth wet frcton. Smple partcle-to-plane projecton s used to prevent overshootng. State varables are ntegrated usng explct Leap-Frog ntegraton scheme wth fxed tme steppng. The smulaton has been performed on Moble P4 1.7 GHz wth GeForce 4 Go. Fg. 2. The classcal Dam-break test wthn our SPH smulaton envronment. The three dfferent test smulatons demonstrate varous flud behavor wth respect to changng stffness and surface tenson parameters. Top row descrbes the behavor of more compressble flud wth less attracton between partcles, mddle row corresponds to hgher constants and fnally the last row represents a stffer flud wth stronger surface tenson. Notce the snapshots are not taken n equal tme steps. To test our approach we run each test case wth three dfferent neghbor search methods, namely the nave O(n 2 ) all-pars-test, Spatal Hashng and our Cell Indexng. 28 and measured the average tme spent for searchng neghbors and ntegraton of one tme step. These results are summarzed n table (I). 28 Other (tree) methods are left a the subject of future work

13 All-Pars Spatal Hashng Cell Indexng Dynamcs Test Case 1 1,95 s,42 s,25 s,25 s Test Case 2 1,97 s,45 s,27 s,24 s Test Case 3 1,93 s,43 s,27 s,28 s Table I. Dam-break tests. 16 Partcles. Average tme spent n one smulaton tme step n each test case. 6. CONCLUSION AND FUTURE WORK We have proposed and demonstrated Cell Indexng as a novel approach for searchng approxmate neghbor partcles wthn a SPH base flud smulaton. Due to cache msses, Spatal Hashng has been slghtly outperformed by our method, wthout large memory requrements of Full 3D vozelzaton. Our approach s nherently lnear, thus wll probably outperform other herarchcal methods 29 for larger data sets. We have ntroduced a H-mask to acheve speed-up by searchng on a subcell resoluton. Ths seamlessly fts nto Cell Indexng a can even extend Spatal Hashng. 3 Due to the mmense computatonal power of current graphcs hardware, we wll nvestgate n the future the possblty of mplementng our approach on GPU. Further we wll try to nvolve spatal and temporal coherence nto our method and allow t to use multresolutonal flud as been done n[keser et al. 26] The nherent compressblty of SPH can be decreased by solvng the pressure mplctly. Therefore we wll explore methods as MPS[Premože et al. 23] and solve the pressure equaton teratvely. Appendx - Smoothng Kernel Dervatves W poly (r, h) = πh 9 2 W poly (r, h) = πh 9 W press (r, h) = 45 πh 6 2 W vsco (r, h) = 45 πh 6 { (h 2 r 2 ) 2 r { (h 2 r 2 )(7r 2 3h 2 ) { (h r) 2 r r { (h r) r h r = r otherwse r h r = r otherwse < r h r = r otherwse r h r = r otherwse (18) 29 They usually need O(n log n) to rebuld. 3 However more cache msses or larger memory requrements arse

14 REFERENCES Adams, B., Pauly, M., Keser, R., and Gubas, L. J. 27. Adaptvely sampled partcle fluds. In ACM Transactons on Graphcs (SIGGRAPH 7 papers). Vol. 26. ACM Press, New York, NY, USA, 48 48*. Becker, M. and Teschner, M. 27. Weakly compressble sph for free surface flows. In SCA 7: Proceedngs of the 27 ACM SIGGRAPH/Eurographcs symposum on Computer anmaton. Eurographcs Assocaton, Are-la-Vlle, Swtzerland, Swtzerland, Benes, B., Tesínský, V., Hornys, J., and Bhata, S. K. 26. Hydraulc eroson. Journal of Vsualzaton and Computer Anmaton 17, 2, Carlson, M., Mucha, P. J., R. Brooks Van Horn, I., and Turk, G. 22. Meltng and flowng Carlson, M., Mucha, P. J., and Turk, G. 24. Rgd flud: anmatng the nterplay between rgd bodes and flud. In SIGGRAPH 4: ACM SIGGRAPH 24 Papers. ACM Press, New York, NY, USA, Chentanez, N. 27. Lqud smulaton on lattce-based tetrahedral meshes. In SIGGRAPH 7: ACM SIGGRAPH 27 computer anmaton festval. ACM Press, New York, NY, USA, 89. Clavet, S., Beaudon, P., and Pouln, P. 25. Partcle-based vscoelastc flud smulaton. In Symposum on Computer Anmaton Cohen, J. D., Ln, M. C., Manocha, D., and Ponamg, M I-collde: An nteractve and exact collson detecton system for large-scale envronments. In SI3D 95: Proceedngs of the 1995 symposum on Interactve 3D graphcs. ACM Press, New York, NY, USA, , 218. Desbrun, M. and Can, M.-P Smoothed partcles: A new paradgm for anmatng hghly deformable bodes. In Eurographcs Workshop on Computer Anmaton and Smulaton (EGCAS), R. Boulc and G. Hegron, Eds. Sprnger-Verlag, Publshed under the name Mare-Paule Gascuel. Enrght, Losasso, and Fedkw. 25. A fast and accurate sem-lagrangan partcle level set method. Computers and Structures 83:, Enrght, D., Marschner, S., and Fedkw, R. 22. Anmaton and renderng of complex water surfaces. In SIGGRAPH 2: Proceedngs of the 29th annual conference on Computer graphcs and nteractve technques. ACM Press, New York, NY, USA, Foster, N. and Metaxas, D Realstc anmaton of lquds. In GI 96: Proceedngs of the conference on Graphcs nterface 96. Canadan Informaton Processng Socety, Toronto, Ont., Canada, Canada, Guendelman, E., Selle, A., Losasso, F., and Fedkw, R. 25. Couplng water and smoke to thn deformable and rgd shells. ACM Trans. Graph. 24, 3, Harada, T., Koshzuka, S., and Kawaguch, Y. 27a. Smoothed partcle hydrodynamcs n complex shapes. In SCCG 7: Proceedngs of the 23st sprng conference on Computer graphcs. Harada, T., Koshzuka, S., and Kawaguch, Y. 27b. Smoothed partcle hydrodynamcs on gpus. In CGI 27: Proceedngs of the 27 symposum on computer graphcs. Hong, J.-M. and Km, C.-H. 23. Anmaton of bubbles n lqud. Computer Graphcs Forum 22, 3, Irvng, G., Guendelman, E., Losasso, F., and Fedkw, R. 26. Effcent smulaton of large bodes of water by couplng two and three dmensonal technques. In SIGGRAPH 6: ACM SIGGRAPH 26 Papers. ACM Press, New York, NY, USA, Keser, R. 26. Meshless lagrangan methods for physcs-based anmatons of solds and fluds. Ph.D. thess, ETH Zurch. Keser, R., Adams, B., Dutre, P., Gubas, L. J., and Pauly, M. 26. Multresoluton partclebased fluds. Tech. rep., Department of Computer Scence, Katholeke Unverstet Leuven. Keser, R., Adams, B., Gasser, D., Bazz, P., Dutre, P., and Gross, M. 25. A unfed lagrangan approach to sold-flud anmaton. In Symposum on Pont-Based Graphcs, M. Gross, H. Pfster, M. Alexa, and S. Rusnkewcz, Eds. Eurographcs Assocaton, Zurch, Swtzerland,

15 Kpfer, P. and Westermann, R. 26. Realstc and nteractve smulaton of rvers. In Proceedngs Graphcs Interface 26, S. Mann and C. Gutwn, Eds. Canadan Human-Computer Communcatons Socety, Losasso, F. 27. Algorthms for ncreasng the effcency and fdelty of flud smulatons. Ph.D. thess, Stanford Unversty, Department of Computer Scence. Losasso, F., Gbou, F., and Fedkw, R. 24. Smulatng water and smoke wth an octree data structure. In SIGGRAPH 4: ACM SIGGRAPH 24 Papers. ACM Press, New York, NY, USA, Losasso, F., Irvng, G., and Guendelman, E. 26. Meltng and burnng solds nto lquds and gases. IEEE Transactons on Vsualzaton and Computer Graphcs 12, 3, Member- Ron Fedkw. Losasso, F., Shnar, T., Selle, A., and Fedkw, R. 26. Multple nteractng lquds. In SIGGRAPH 6: ACM SIGGRAPH 26 Papers. ACM Press, New York, NY, USA, Monaghan, J. 25. Smoothed partcle hydrodynamcs. Reports on Progress n Physcs 68, (57). Müller, M., Charypar, D., and Gross, M. 23. Partcle-based flud smulaton for nteractve applcatons. In SCA 3: Proceedngs of the 23 ACM SIGGRAPH/Eurographcs symposum on Computer anmaton. Eurographcs Assocaton, Are-la-Vlle, Swtzerland, Swtzerland, Müller, M., Solenthaler, B., Keser, R., and Gross, M. 25. Partcle-based flud-flud nteracton. In SCA 5: Proceedngs of the 25 ACM SIGGRAPH/Eurographcs symposum on Computer anmaton. ACM Press, New York, NY, USA, Premože, S., Tasdzen, T., Bgler, J., Lefohn, A., and Whtaker, R. 23. Partcle-based smulaton of fluds. Computer Graphcs Forum 22, 3, ctatons 56 4/4/7. Rtche, B. W. and Thomas, P. A. 21. Multphase smoothed-partcle hydrodynamcs. Monthly Notces of the Royal Astronomcal Socety 323, (14). Solenthaler, B., Schläfl, J., and Pajarola, R. 27. A unfed partcle model for fludsold nteractons. Comput. Anmat. Vrtual Worlds 18, 1, Stam, J Stable fluds. In SIGGRAPH 99: Proceedngs of the 26th annual conference on Computer graphcs and nteractve technques. ACM Press/Addson-Wesley Publshng Co., New York, NY, USA, Terdman, P. 2. Radx sort revsted. Onlne Paper. URL: Teschner, M., Hedelberger, B., Müller, M., Pomerantes, D., and Gross, M. H. 23. Optmzed spatal hashng for collson detecton of deformable objects. In VMV Thürey, N., Keser, R., Pauly, M., and Rüde, U. 26. Detal-preservng flud control. In SCA 6: Proceedngs of the 26 ACM SIGGRAPH/Eurographcs symposum on Computer anmaton. Eurographcs Assocaton, Are-la-Vlle, Swtzerland, Swtzerland, Thürey, N., Rüde, U., and Stammnger, M. 26. Anmaton of open water phenomena wth coupled shallow water and free surface smulatons. In SCA 6: Proceedngs of the 26 ACM SIGGRAPH/Eurographcs symposum on Computer anmaton. Eurographcs Assocaton, Are-la-Vlle, Swtzerland, Swtzerland, Juraj Onderk Comenus Unversty Slovaka, Bratslava Roman Ďurkovč The Unversty of Sant Cyrl a Metod, Trnava, Slovaka

Simulation of a Ship with Partially Filled Tanks Rolling in Waves by Applying Moving Particle Semi-Implicit Method

Simulation of a Ship with Partially Filled Tanks Rolling in Waves by Applying Moving Particle Semi-Implicit Method Smulaton of a Shp wth Partally Flled Tanks Rollng n Waves by Applyng Movng Partcle Sem-Implct Method Jen-Shang Kouh Department of Engneerng Scence and Ocean Engneerng, Natonal Tawan Unversty, Tape, Tawan,

More information

S.P.H. : A SOLUTION TO AVOID USING EROSION CRITERION?

S.P.H. : A SOLUTION TO AVOID USING EROSION CRITERION? S.P.H. : A SOLUTION TO AVOID USING EROSION CRITERION? Célne GALLET ENSICA 1 place Emle Bloun 31056 TOULOUSE CEDEX e-mal :cgallet@ensca.fr Jean Luc LACOME DYNALIS Immeuble AEROPOLE - Bat 1 5, Avenue Albert

More information

Modeling, Manipulating, and Visualizing Continuous Volumetric Data: A Novel Spline-based Approach

Modeling, Manipulating, and Visualizing Continuous Volumetric Data: A Novel Spline-based Approach Modelng, Manpulatng, and Vsualzng Contnuous Volumetrc Data: A Novel Splne-based Approach Jng Hua Center for Vsual Computng, Department of Computer Scence SUNY at Stony Brook Talk Outlne Introducton and

More information

Virtual Noctiluca: Interaction between Light and Water using Real-time Fluid Simulation and 3D Motion Measurement

Virtual Noctiluca: Interaction between Light and Water using Real-time Fluid Simulation and 3D Motion Measurement Vrtual Noctluca: Interacton between Lght and Water usng Real-tme Flud Smulaton and 3D Moton Measurement Kyouhe Ada and Norko Nagata Kwanse Gakun Unversty, School of Scence and Technology 2-1 Gakuen, Sanda,

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

Surface Tension Model Based on Implicit Incompressible Smoothed Particle Hydrodynamics for Fluid Simulation

Surface Tension Model Based on Implicit Incompressible Smoothed Particle Hydrodynamics for Fluid Simulation Wang XK, Ban XJ, Zhang YL et al. Surface tenson model based on mplct ncompressble smoothed partcle hydrodynamcs for flud smulaton. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY 32(6): 1186 1197 Nov. 2017.

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

Dynamic wetting property investigation of AFM tips in micro/nanoscale

Dynamic wetting property investigation of AFM tips in micro/nanoscale Dynamc wettng property nvestgaton of AFM tps n mcro/nanoscale The wettng propertes of AFM probe tps are of concern n AFM tp related force measurement, fabrcaton, and manpulaton technques, such as dp-pen

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

Interaction Methods for the SPH Parts (Multiphase Flows, Solid Bodies) in LS-DYNA

Interaction Methods for the SPH Parts (Multiphase Flows, Solid Bodies) in LS-DYNA 13 th Internatonal LS-DYNA Users Conference Sesson: Flud Structure Interacton Interacton Methods for the SPH Parts (Multphase Flows, Sold Bodes) n LS-DYNA Jngxao Xu, Jason Wang Lvermore Software Technology

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

More information

Reproducing Works of Calder

Reproducing Works of Calder Reproducng Works of Calder Dongkyoo Lee*, Hee-Jung Bae*, Chang Tae Km*, Dong-Chun Lee*, Dae-Hyun Jung*, Nam-Kyung Lee*, Kyoo-Ho Lee*, Nakhoon Baek**, J. Won Lee***, Kwan Woo Ryu* and James K. Hahn*** *

More information

Hybrid particle grid fluid animation with enhanced details

Hybrid particle grid fluid animation with enhanced details Vs Comput (2013) 29:937 947 DOI 10.1007/s00371-013-0849-6 ORIGINAL ARTICLE Hybrd partcle grd flud anmaton wth enhanced detals Chang-bo Wang Qang Zhang Fan-long Kong Hong Qn Publshed onlne: 1 June 2013

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

Simplification of 3D Meshes

Simplification of 3D Meshes Smplfcaton of 3D Meshes Addy Ngan /4/00 Outlne Motvaton Taxonomy of smplfcaton methods Hoppe et al, Mesh optmzaton Hoppe, Progressve meshes Smplfcaton of 3D Meshes 1 Motvaton Hgh detaled meshes becomng

More information

Hermite Splines in Lie Groups as Products of Geodesics

Hermite Splines in Lie Groups as Products of Geodesics Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the

More information

Cloth Simulation. Burak Ertekin i MSc Computer Animation and Visual Effects

Cloth Simulation. Burak Ertekin i MSc Computer Animation and Visual Effects Cloth Smulaton Burak Ertekn 7637445 MSc Computer Anmaton and Vsual Effects November 17, 2014 1 Abstract In ths paper, we explan how to make a Cloth Smulaton usng Mass Sprng Model. We explaned the nternal

More information

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration Improvement of Spatal Resoluton Usng BlockMatchng Based Moton Estmaton and Frame Integraton Danya Suga and Takayuk Hamamoto Graduate School of Engneerng, Tokyo Unversty of Scence, 6-3-1, Nuku, Katsuska-ku,

More information

Projective Fluids. Abstract. 2 Related Work. 1 Introduction. Marcel Weiler Graduate School CE, TU Darmstadt

Projective Fluids. Abstract. 2 Related Work. 1 Introduction. Marcel Weiler Graduate School CE, TU Darmstadt Marcel Weler Graduate School CE, TU Darmstadt Projectve Fluds Dan Koscher Graduate School CE, TU Darmstadt Jan Bender Computer Anmaton Group, RWTH Aachen Unversty Fgure 1: Left: Breakng dam scenaro wth

More information

Complex Deformable Objects in Virtual Reality

Complex Deformable Objects in Virtual Reality Complex Deformable Obects n Vrtual Realty Young-Mn Kang Department of Computer Scence Pusan Natonal Unversty ymkang@pearl.cs.pusan.ac.kr Hwan-Gue Cho Department of Computer Scence Pusan Natonal Unversty

More information

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation Intellgent Informaton Management, 013, 5, 191-195 Publshed Onlne November 013 (http://www.scrp.org/journal/m) http://dx.do.org/10.36/m.013.5601 Qualty Improvement Algorthm for Tetrahedral Mesh Based on

More information

SPH and ALE formulations for sloshing tank analysis

SPH and ALE formulations for sloshing tank analysis Int. Jnl. of Multphyscs Volume 9 Number 3 2015 209 SPH and ALE formulatons for sloshng tank analyss Jngxao Xu 1, Jason Wang 1 and Mhamed Soul*, 2 1 LSTC, Lvermore Software Technology Corp. Lvermore CA

More information

High-Boost Mesh Filtering for 3-D Shape Enhancement

High-Boost Mesh Filtering for 3-D Shape Enhancement Hgh-Boost Mesh Flterng for 3-D Shape Enhancement Hrokazu Yagou Λ Alexander Belyaev y Damng We z Λ y z ; ; Shape Modelng Laboratory, Unversty of Azu, Azu-Wakamatsu 965-8580 Japan y Computer Graphcs Group,

More information

Lobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide

Lobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide Lobachevsky State Unversty of Nzhn Novgorod Polyhedron Quck Start Gude Nzhn Novgorod 2016 Contents Specfcaton of Polyhedron software... 3 Theoretcal background... 4 1. Interface of Polyhedron... 6 1.1.

More information

Simulation and Animation of Fire

Simulation and Animation of Fire Smulaton and Anmaton of Fre Overvew Presentaton n Semnar on Motvaton Methods for smulaton of fre Physcally-based Methods for 3D-Games and Medcal Applcatons Dens Stenemann partcle-based flud-based flame-based

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

More information

Fluid Animation with Dynamic Meshes

Fluid Animation with Dynamic Meshes Computer Graphcs Proceedngs, Annual Conference Seres, 2006 Flud Anmaton wth Dynamc Meshes Bryan M. Klngner Bryan E. Feldman Nuttapong Chentanez James F. O Bren Unversty of Calforna, Berkeley Fgure 1: Top:

More information

Overview. Basic Setup [9] Motivation and Tasks. Modularization 2008/2/20 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION

Overview. Basic Setup [9] Motivation and Tasks. Modularization 2008/2/20 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION Overvew 2 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION Introducton Mult- Smulator MASIM Theoretcal Work and Smulaton Results Concluson Jay Wagenpfel, Adran Trachte Motvaton and Tasks Basc Setup

More information

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,

More information

Lecture #15 Lecture Notes

Lecture #15 Lecture Notes Lecture #15 Lecture Notes The ocean water column s very much a 3-D spatal entt and we need to represent that structure n an economcal way to deal wth t n calculatons. We wll dscuss one way to do so, emprcal

More information

An Entropy-Based Approach to Integrated Information Needs Assessment

An Entropy-Based Approach to Integrated Information Needs Assessment Dstrbuton Statement A: Approved for publc release; dstrbuton s unlmted. An Entropy-Based Approach to ntegrated nformaton Needs Assessment June 8, 2004 Wllam J. Farrell Lockheed Martn Advanced Technology

More information

The Theory and Application of an Adaptive Moving Least. Squares for Non-uniform Samples

The Theory and Application of an Adaptive Moving Least. Squares for Non-uniform Samples Xanpng Huang, Qng Tan, Janfe Mao, L Jang, Ronghua Lang The Theory and Applcaton of an Adaptve Movng Least Squares for Non-unform Samples Xanpng Huang, Qng Tan, Janfe Mao*, L Jang, Ronghua Lang College

More information

Finite Element Analysis of Rubber Sealing Ring Resilience Behavior Qu Jia 1,a, Chen Geng 1,b and Yang Yuwei 2,c

Finite Element Analysis of Rubber Sealing Ring Resilience Behavior Qu Jia 1,a, Chen Geng 1,b and Yang Yuwei 2,c Advanced Materals Research Onlne: 03-06-3 ISSN: 66-8985, Vol. 705, pp 40-44 do:0.408/www.scentfc.net/amr.705.40 03 Trans Tech Publcatons, Swtzerland Fnte Element Analyss of Rubber Sealng Rng Reslence Behavor

More information

Numerical Simulations of 3D Liquid Sloshing Flows by MPS Method

Numerical Simulations of 3D Liquid Sloshing Flows by MPS Method Proceedngs of the Eleventh (14) Pacfc/Asa Offshore Mechancs Symposum Shangha, Chna, October 1-16, 14 Copyrght 14 by The Internatonal Socety of Offshore and Polar Engneers ISBN 978 1 88653 9-6: ISSN 1946-4X

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

3D vector computer graphics

3D vector computer graphics 3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres

More information

Mesh Editing in ROI with Dual Laplacian

Mesh Editing in ROI with Dual Laplacian Mesh Edtng n ROI wth Dual Laplacan Luo Qong, Lu Bo, Ma Zhan-guo, Zhang Hong-bn College of Computer Scence, Beng Unversty of Technology, Chna lqngng@sohu.com, lubo@but.edu.cn,mzgsy@63.com,zhb@publc.bta.net.cn

More information

Programming in Fortran 90 : 2017/2018

Programming in Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal

More information

Simulation of Surface Mesh Deformation in Orthodontics by Mass-Spring Model

Simulation of Surface Mesh Deformation in Orthodontics by Mass-Spring Model 292 ECTI TRANSACTIONS ON ELECTRICAL ENG., ELECTRONICS, AND COMMUNICATIONS VOL.9, NO.2 August 2011 Smulaton of Surface Mesh Deformaton n Orthodontcs by Mass-Sprng Model Pathomphong Phannurat 1, Wcht Tharanon

More information

Computer models of motion: Iterative calculations

Computer models of motion: Iterative calculations Computer models o moton: Iteratve calculatons OBJECTIVES In ths actvty you wll learn how to: Create 3D box objects Update the poston o an object teratvely (repeatedly) to anmate ts moton Update the momentum

More information

Applications of DEC:

Applications of DEC: Applcatons of DEC: Flud Mechancs and Meshng Dscrete Dfferental Geometry Overvew Puttng DEC to good use Fluds, fluds, fluds geometrc nterpretaton of classcal models dscrete geometrc nterpretaton new geometry-based

More information

Towards Large Fluid Animation using Shallow Water and Navier-Stokes Simulation with SPH

Towards Large Fluid Animation using Shallow Water and Navier-Stokes Simulation with SPH Unverzta Komenského v Bratslave Fakulta matematky, fyzky a nformatky Mgr. Mchal Chládek Autoreferát dzertačnej práce Towards Large Flud Anmaton usng Shallow Water and Naver-Stokes Smulaton wth SPH na získane

More information

Journal of Computational Physics

Journal of Computational Physics Journal of Computatonal Physcs 230 (2011) 2540 2561 Contents lsts avalable at ScenceDrect Journal of Computatonal Physcs journal homepage: www.elsever.com/locate/jcp A grd based partcle method for solvng

More information

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

Chapter 6 Programmng the fnte element method Inow turn to the man subject of ths book: The mplementaton of the fnte element algorthm n computer programs. In order to make my dscusson as straghtforward

More information

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016)

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016) Technsche Unverstät München WSe 6/7 Insttut für Informatk Prof. Dr. Thomas Huckle Dpl.-Math. Benjamn Uekermann Parallel Numercs Exercse : Prevous Exam Questons Precondtonng & Iteratve Solvers (From 6)

More information

TN348: Openlab Module - Colocalization

TN348: Openlab Module - Colocalization TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages

More information

Real-Time Two-way Coupling of Ship Simulator with Virtual Reality Application

Real-Time Two-way Coupling of Ship Simulator with Virtual Reality Application Real-Tme Two-way Couplng of Shp Smulator wth Vrtual Realty Applcaton Chen Hsen Chen Natonal Tawan Unversty Electrcal Engneerng Department Tape R.O.C. b91901045@ntu.edu.tw L-Chen Fu Natonal Tawan Unversty

More information

Array transposition in CUDA shared memory

Array transposition in CUDA shared memory Array transposton n CUDA shared memory Mke Gles February 19, 2014 Abstract Ths short note s nspred by some code wrtten by Jeremy Appleyard for the transposton of data through shared memory. I had some

More information

Multiphase MPS Method for Two-Layer-Liquid Sloshing Flows in Oil-Water Separators

Multiphase MPS Method for Two-Layer-Liquid Sloshing Flows in Oil-Water Separators Proceedngs of the Twenty-eghth (08 Internatonal Ocean and Polar Engneerng Conference Sapporo, Japan, June 0-5, 08 Copyrght 08 by the Internatonal Socety of Offshore and Polar Engneers (ISOPE ISBN 978--880653-87-6;

More information

Active Contours/Snakes

Active Contours/Snakes Actve Contours/Snakes Erkut Erdem Acknowledgement: The sldes are adapted from the sldes prepared by K. Grauman of Unversty of Texas at Austn Fttng: Edges vs. boundares Edges useful sgnal to ndcate occludng

More information

SPH Method used for Flow Predictions at a Turgo Impulse Turbine: Comparison with Fluent

SPH Method used for Flow Predictions at a Turgo Impulse Turbine: Comparison with Fluent World Academy of Scence, Engneerng and Technology SPH Method used for Flow Predctons at a Turgo Impulse Turbne: Comparson wth Fluent Phoevos K. Koukouvns, John S. Anagnostopoulos, Dmtrs E. Papantons Abstract

More information

Accounting for the Use of Different Length Scale Factors in x, y and z Directions

Accounting for the Use of Different Length Scale Factors in x, y and z Directions 1 Accountng for the Use of Dfferent Length Scale Factors n x, y and z Drectons Taha Soch (taha.soch@kcl.ac.uk) Imagng Scences & Bomedcal Engneerng, Kng s College London, The Rayne Insttute, St Thomas Hosptal,

More information

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

More information

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Learning the Kernel Parameters in Kernel Minimum Distance Classifier Learnng the Kernel Parameters n Kernel Mnmum Dstance Classfer Daoqang Zhang 1,, Songcan Chen and Zh-Hua Zhou 1* 1 Natonal Laboratory for Novel Software Technology Nanjng Unversty, Nanjng 193, Chna Department

More information

Very simple computational domains can be discretized using boundary-fitted structured meshes (also called grids)

Very simple computational domains can be discretized using boundary-fitted structured meshes (also called grids) Structured meshes Very smple computatonal domans can be dscretzed usng boundary-ftted structured meshes (also called grds) The grd lnes of a Cartesan mesh are parallel to one another Structured meshes

More information

Computer Animation and Visualisation. Lecture 4. Rigging / Skinning

Computer Animation and Visualisation. Lecture 4. Rigging / Skinning Computer Anmaton and Vsualsaton Lecture 4. Rggng / Sknnng Taku Komura Overvew Sknnng / Rggng Background knowledge Lnear Blendng How to decde weghts? Example-based Method Anatomcal models Sknnng Assume

More information

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method Internatonal Journal of Computatonal and Appled Mathematcs. ISSN 89-4966 Volume, Number (07), pp. 33-4 Research Inda Publcatons http://www.rpublcaton.com An Accurate Evaluaton of Integrals n Convex and

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

More information

An inverse problem solution for post-processing of PIV data

An inverse problem solution for post-processing of PIV data An nverse problem soluton for post-processng of PIV data Wt Strycznewcz 1,* 1 Appled Aerodynamcs Laboratory, Insttute of Avaton, Warsaw, Poland *correspondng author: wt.strycznewcz@lot.edu.pl Abstract

More information

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements Module 3: Element Propertes Lecture : Lagrange and Serendpty Elements 5 In last lecture note, the nterpolaton functons are derved on the bass of assumed polynomal from Pascal s trangle for the fled varable.

More information

Volume Preserving Viscoelastic Fluids with Large Deformations Using Position-based Velocity Corrections

Volume Preserving Viscoelastic Fluids with Large Deformations Using Position-based Velocity Corrections Noname manuscrpt No. (wll be nserted by the edtor) Volume Preservng Vscoelastc Fluds wth Large Deformatons Usng Poston-based Velocty Correctons Tetsuya Takahash Yoshnor Dobash Isse Fujshro Tomoyuk Nshta

More information

Determining the Optimal Bandwidth Based on Multi-criterion Fusion

Determining the Optimal Bandwidth Based on Multi-criterion Fusion Proceedngs of 01 4th Internatonal Conference on Machne Learnng and Computng IPCSIT vol. 5 (01) (01) IACSIT Press, Sngapore Determnng the Optmal Bandwdth Based on Mult-crteron Fuson Ha-L Lang 1+, Xan-Mn

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

Radial Basis Functions

Radial Basis Functions Radal Bass Functons Mesh Reconstructon Input: pont cloud Output: water-tght manfold mesh Explct Connectvty estmaton Implct Sgned dstance functon estmaton Image from: Reconstructon and Representaton of

More information

VISCOELASTIC SIMULATION OF BI-LAYER COEXTRUSION IN A SQUARE DIE: AN ANALYSIS OF VISCOUS ENCAPSULATION

VISCOELASTIC SIMULATION OF BI-LAYER COEXTRUSION IN A SQUARE DIE: AN ANALYSIS OF VISCOUS ENCAPSULATION VISCOELASTIC SIMULATION OF BI-LAYER COEXTRUSION IN A SQUARE DIE: AN ANALYSIS OF VISCOUS ENCAPSULATION Mahesh Gupta Mchgan Technologcal Unversty Plastc Flow, LLC Houghton, MI 49931 Hancock, MI 49930 Abstract

More information

University of Groningen. Point-Based Visualization of Metaballs on a GPU Kooten, Kees van; Bergen, Gino van den; Telea, Alexandru

University of Groningen. Point-Based Visualization of Metaballs on a GPU Kooten, Kees van; Bergen, Gino van den; Telea, Alexandru Unversty of Gronngen Pont-Based Vsualzaton of Metaballs on a GPU Kooten, Kees van; Bergen, Gno van den; Telea, Alexandru Publshed n: EPRINTS-BOOK-TITLE IMPORTANT NOTE: You are advsed to consult the publsher's

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

Support Vector Machines

Support Vector Machines /9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.

More information

Feature Reduction and Selection

Feature Reduction and Selection Feature Reducton and Selecton Dr. Shuang LIANG School of Software Engneerng TongJ Unversty Fall, 2012 Today s Topcs Introducton Problems of Dmensonalty Feature Reducton Statstc methods Prncpal Components

More information

Review of approximation techniques

Review of approximation techniques CHAPTER 2 Revew of appromaton technques 2. Introducton Optmzaton problems n engneerng desgn are characterzed by the followng assocated features: the objectve functon and constrants are mplct functons evaluated

More information

PHYSICS-ENHANCED L-SYSTEMS

PHYSICS-ENHANCED L-SYSTEMS PHYSICS-ENHANCED L-SYSTEMS Hansrud Noser 1, Stephan Rudolph 2, Peter Stuck 1 1 Department of Informatcs Unversty of Zurch, Wnterthurerstr. 190 CH-8057 Zurch Swtzerland noser(stuck)@f.unzh.ch, http://www.f.unzh.ch/~noser(~stuck)

More information

Isosurface Extraction in Time-varying Fields Using a Temporal Hierarchical Index Tree

Isosurface Extraction in Time-varying Fields Using a Temporal Hierarchical Index Tree Isosurface Extracton n Tme-varyng Felds Usng a Temporal Herarchcal Index Tree Han-We Shen MRJ Technology Solutons / NASA Ames Research Center Abstract Many hgh-performance sosurface extracton algorthms

More information

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain AMath 483/583 Lecture 21 May 13, 2011 Today: OpenMP and MPI versons of Jacob teraton Gauss-Sedel and SOR teratve methods Next week: More MPI Debuggng and totalvew GPU computng Read: Class notes and references

More information

Topology Design using LS-TaSC Version 2 and LS-DYNA

Topology Design using LS-TaSC Version 2 and LS-DYNA Topology Desgn usng LS-TaSC Verson 2 and LS-DYNA Wllem Roux Lvermore Software Technology Corporaton, Lvermore, CA, USA Abstract Ths paper gves an overvew of LS-TaSC verson 2, a topology optmzaton tool

More information

Clustering and Collision Detection for Clustered Shape Matching

Clustering and Collision Detection for Clustered Shape Matching Clusterng and Collson Detecton for Clustered Shape Matchng Ben Jones Unversty of Denver Aprl Martn Unversty of Utah Joshua A. Levne Clemson Unversty Tamar Shnar Unversty of Calforna, Rversde Adam W. Bargtel

More information

Classifier Selection Based on Data Complexity Measures *

Classifier Selection Based on Data Complexity Measures * Classfer Selecton Based on Data Complexty Measures * Edth Hernández-Reyes, J.A. Carrasco-Ochoa, and J.Fco. Martínez-Trndad Natonal Insttute for Astrophyscs, Optcs and Electroncs, Lus Enrque Erro No.1 Sta.

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

User Authentication Based On Behavioral Mouse Dynamics Biometrics

User Authentication Based On Behavioral Mouse Dynamics Biometrics User Authentcaton Based On Behavoral Mouse Dynamcs Bometrcs Chee-Hyung Yoon Danel Donghyun Km Department of Computer Scence Department of Computer Scence Stanford Unversty Stanford Unversty Stanford, CA

More information

Real-time Motion Capture System Using One Video Camera Based on Color and Edge Distribution

Real-time Motion Capture System Using One Video Camera Based on Color and Edge Distribution Real-tme Moton Capture System Usng One Vdeo Camera Based on Color and Edge Dstrbuton YOSHIAKI AKAZAWA, YOSHIHIRO OKADA, AND KOICHI NIIJIMA Graduate School of Informaton Scence and Electrcal Engneerng,

More information

Network Intrusion Detection Based on PSO-SVM

Network Intrusion Detection Based on PSO-SVM TELKOMNIKA Indonesan Journal of Electrcal Engneerng Vol.1, No., February 014, pp. 150 ~ 1508 DOI: http://dx.do.org/10.11591/telkomnka.v1.386 150 Network Intruson Detecton Based on PSO-SVM Changsheng Xang*

More information

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification Introducton to Artfcal Intellgence V22.0472-001 Fall 2009 Lecture 24: Nearest-Neghbors & Support Vector Machnes Rob Fergus Dept of Computer Scence, Courant Insttute, NYU Sldes from Danel Yeung, John DeNero

More information

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss.

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss. Today s Outlne Sortng Chapter 7 n Wess CSE 26 Data Structures Ruth Anderson Announcements Wrtten Homework #6 due Frday 2/26 at the begnnng of lecture Proect Code due Mon March 1 by 11pm Today s Topcs:

More information

GPU accelerated SPH simulation of fluids for VFX

GPU accelerated SPH simulation of fluids for VFX LU-ITN-TEK-A--10/044--SE GPU accelerated SPH smulaton of fluds for VFX Mattas Lagergren 2010-06-07 Department of Scence and Technology Lnköpng Unversty SE-601 74 Norrköpng, Sweden Insttutonen för teknk

More information

CS1100 Introduction to Programming

CS1100 Introduction to Programming Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact

More information

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung

More information

Support Vector Machines. CS534 - Machine Learning

Support Vector Machines. CS534 - Machine Learning Support Vector Machnes CS534 - Machne Learnng Perceptron Revsted: Lnear Separators Bnar classfcaton can be veed as the task of separatng classes n feature space: b > 0 b 0 b < 0 f() sgn( b) Lnear Separators

More information

A gradient smoothing method (GSM) for fluid dynamics problems

A gradient smoothing method (GSM) for fluid dynamics problems INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS Int. J. Numer. Meth. Fluds 2008; 58:1101 1133 Publshed onlne 27 March 2008 n Wley InterScence (www.nterscence.wley.com)..1788 A gradent smoothng method

More information

Module 6: FEM for Plates and Shells Lecture 6: Finite Element Analysis of Shell

Module 6: FEM for Plates and Shells Lecture 6: Finite Element Analysis of Shell Module 6: FEM for Plates and Shells Lecture 6: Fnte Element Analyss of Shell 3 6.6. Introducton A shell s a curved surface, whch by vrtue of ther shape can wthstand both membrane and bendng forces. A shell

More information

CS 534: Computer Vision Model Fitting

CS 534: Computer Vision Model Fitting CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust

More information