Skip to content

Instantly share code, notes, and snippets.

View lindsayad's full-sized avatar

Alex Lindsay lindsayad

View GitHub Profile
[Mesh]
file = two-body.msh
[]
[Variables]
[./u]
block = 'left_block'
[../]
[./v]
block = 'right_block'
@lindsayad
lindsayad / .gitignore
Last active February 28, 2019 22:22
How to take second derivatives with MetaPhysicL
*~*
*.out
*dSYM
@lindsayad
lindsayad / Makefile
Last active September 13, 2018 21:37
Minimal libMesh example with parallel leak
######################################################################
#
# Template libMesh application Makefile
LIBMESH_DIR ?= /ssd/lindad/moose/libmesh/installed-mpich3.3b1-all-dbg
# include the library options determined by configure
include $(LIBMESH_DIR)/Make.common
target := ./example-$(METHOD)
@lindsayad
lindsayad / test_moose_hash_map_for_mat_props.C
Last active January 31, 2017 22:19
Test MOOSE hash map storage of material properties
#include "MoltresApp.h"
#include "MooseInit.h"
#include "Moose.h"
#include "MooseApp.h"
#include "AppFactory.h"
#include "HashMap.h"
#include <thread>
#include "MaterialProperty.h"
// Create a performance log