I happened to be dealing with a bunch of mallocs that look like this double* f = (double*)malloc(sizeof(double)*nx*ny*nz); double* g = (double*)malloc(sizeof(double)*nx); double* h = (double*)malloc(sizeof(double)*nx*nz); I wanted to convert all of those those to use new, i.e. double* f = new double[nx*ny*nz] Using regex made all this possible search for: \(double\*\)malloc\(sizeof\(double\)\*(.*)\) replace with: new …
Here’s how I mix vector and tensor notation to avoid diadics in the Navier-Stokes equations
So the University of Utah provides us with 50 GB of storage with Box Sync. Box Sync supports webdav natively. On another note I use Zotero for my citation management. The great thing about Zotero is that it allows your to store your library on your own webdav. Combining the above I am able to …
Tony Saad, Christopher Earl, Abhishek Bagusetty, Matthew Might, and James C. Sutherland, Architecture-Proof Multiphysics using a Domain Specific Language, Presented at the TST Site Review of the Utah PSAPPII Center, Salt Lake City, Utah, April 2015.
Tony Saad, Abhishek Bagusetty, and James C. Sutherland, Wasatch: A CPU/GPU-Ready Multiphysics Code Using a Domain Specific Language, University of Utah, USA
Majdalani, J., and Saad, T., “Internal Flows Driven by Wall-Normal Injection“, Advanced Fluid Dynamics, Prof. Hyoung Woo Oh (Ed.), ISBN: 978-953-51-0270-0, InTech, 20012.
Crawford, D. S., Saad, T., & Ring, T. A. (2013). Verification and validation of the maximum entropy method for reconstructing neutron flux, with MCNP5, Attila-7.1. 0 and the GODIVA experiment. Annals of Nuclear Energy, 53, 188-191. (DOI: 10.1016/j.anucene.2012.09.010).
Maicke, B., Saad, T., and Majdalani, J., “On the Compressible Hart-McClure and Sellars Mean Flow Motions”, Physics of Fluids, vol. 24, No. 9, 2012. (DOI: 10.1063/1.4748349)
Saad, T., and Majdalani, J., “On the Lagrangian Optimization of Wall-Injected Flows: from the Hart-McClure Potential to the Taylor-Culick Rotational Motion,” Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences. (DOI: 10.1098/rspa.2009.0326)
Saad, T., and Majdalani, J., “Rotational Flowfields in Porous Channels with Arbitrary Headwall Injection,” Journal of Propulsion and Power, vol. 25, No. 4, 2009, pp. 921 – 929. (DOI: 10.2514/1.41926)