This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| #include <map> | |
| #include <cstdlib> // std::getenv() | |
| #include "libmesh/libmesh.h" | |
| #include "libmesh/mesh.h" | |
| #include "libmesh/point.h" | |
| #include "libmesh/cell_tet4.h" | |
| // #include "libmesh/exodusII_io.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| #include <map> | |
| #include <cstdlib> // std::getenv() | |
| #include "libmesh/libmesh.h" | |
| #include "libmesh/mesh.h" | |
| #include "libmesh/point.h" | |
| #include "libmesh/face_tri3.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "libmesh/libmesh.h" | |
| #include "libmesh/mesh.h" | |
| #include "libmesh/elem.h" | |
| #include "libmesh/cell_hex20.h" | |
| #include "libmesh/fe.h" | |
| #include "libmesh/fe_interface.h" | |
| using namespace libMesh; | |
| // This is an example hopfully showing YT people how to evaluate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This Makefile assumes you have libmesh built and installed in $LIBMESH_DIR. | |
| # If the user has no environment variable | |
| # called METHOD, he gets optimized mode. | |
| ifeq (x$(METHOD),x) | |
| METHOD := opt | |
| endif | |
| # installed libmesh location of libmesh-config script | |
| libmesh_config := $(LIBMESH_DIR)/bin/libmesh-config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| #include <map> | |
| #include "libmesh/libmesh.h" | |
| #include "libmesh/mesh.h" | |
| #include "libmesh/point.h" | |
| #include "libmesh/cell_tet4.h" | |
| // NOTE: This example only works if you have built and installed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "libmesh/libmesh.h" | |
| #include "libmesh/mesh.h" | |
| #include "libmesh/ucd_io.h" | |
| #include "libmesh/mesh_generation.h" | |
| #include "libmesh/elem.h" | |
| using namespace libMesh; | |
| // Uncomment this or compile with -DOLD_STYLE_BOUNDARY_IDS to test | |
| // old-style boundary_ids() function. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "libmesh/libmesh.h" | |
| #include "libmesh/dense_vector.h" | |
| #include "libmesh/dense_matrix.h" | |
| #include "libmesh/getpot.h" | |
| #include "libmesh/perf_log.h" | |
| #include <Eigen/SVD> | |
| using namespace libMesh; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "libmesh/libmesh.h" | |
| #include "libmesh/dense_vector.h" | |
| #include "libmesh/dense_matrix.h" | |
| #include "libmesh/getpot.h" | |
| #include "libmesh/perf_log.h" | |
| #include <Eigen/SVD> | |
| using namespace libMesh; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This utility code can be used to detect slits in a Mesh. A "slit" | |
| // is a zero-width gap between two elements which should actually be | |
| // neighbors. This can be caused by having duplicate nodes in a mesh | |
| // generated by Cubit. | |
| // | |
| // The following journal file should work in any recent version of Cubit | |
| // to generate a mesh with a bunch of duplicated nodes along an interface. | |
| // This is caused by the user forgetting to call "merge all" after setting | |
| // up his geometry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // C++ include files that we need | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <math.h> | |
| // Basic include file needed for the mesh functionality. | |
| #include "libmesh/libmesh.h" | |
| #include "libmesh/mesh.h" | |
| #include "libmesh/mesh_generation.h" | |
| #include "libmesh/exodusII_io.h" |