ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 21 forks source link

over allocating memory? #115

Closed donnaaboise closed 7 years ago

donnaaboise commented 7 years ago

Originally reported by: Donna Calhoun (Bitbucket: donnaaboise, GitHub: donnaaboise)


Memory for ghost patches is being over-allocated - get rid of spurious *sizeof(double)


donnaaboise commented 7 years ago

Allocation now virtualized - sizeof(datatype) is now included in the user defined packetize. Virtual function now allocations using FCLAW_ALLOC(char,size).