libMesh
Loading...
Searching...
No Matches
domain.C
Go to the documentation of this file.
1
2#include "libmesh/mesh_base.h"
3
4#include "domain.h"
5
6// Bring in everything from the libMesh namespace
7using namespace libMesh;
8
9// Mesh construction
11 FEMParameters & param)
12{
13 mesh.read(param.domainfile);
14
15 libMesh::out << "Making elements 2nd order" << std::endl;
16
17 // Right now we are setting approximation orders in the code, rather than reading them in
18 // That needs to be fixed and the second ordering should be done only if one of the
19 // approximation orders is greater than 1
21}
std::string domainfile
This is the MeshBase class.
Definition mesh_base.h:81
void all_second_order(const bool full_ordered=true)
Calls the range-based version of this function with a range consisting of all elements in the mesh.
Definition mesh_base.C:1803
virtual void read(const std::string &name, void *mesh_data=nullptr, bool skip_renumber_nodes_and_elements=false, bool skip_find_neighbors=false, bool skip_detect_interior_parents=false)=0
Interfaces for reading/writing a mesh to/from a file.
void build_domain(MeshBase &mesh, FEMParameters &param)
Definition domain.C:10
MeshBase & mesh
The libMesh namespace provides an interface to certain functionality in the library.
OStreamProxy out