libMesh
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
7 using 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 }
libMesh::MeshBase::read
virtual void read(const std::string &name, void *mesh_data=nullptr, bool skip_renumber_nodes_and_elements=false, bool skip_find_neighbors=false)=0
Interfaces for reading/writing a mesh to/from a file.
libMesh::MeshBase::all_second_order
virtual void all_second_order(const bool full_ordered=true)=0
Converts a (conforming, non-refined) mesh with linear elements into a mesh with second-order elements...
libMesh
The libMesh namespace provides an interface to certain functionality in the library.
Definition: factoryfunction.C:55
mesh
MeshBase & mesh
Definition: mesh_communication.C:1257
libMesh::MeshBase
This is the MeshBase class.
Definition: mesh_base.h:78
FEMParameters::domainfile
std::string domainfile
Definition: femparameters.h:46
domain.h
FEMParameters
Definition: femparameters.h:22
libMesh::out
OStreamProxy out
build_domain
void build_domain(MeshBase &mesh, FEMParameters &param)
Definition: domain.C:10