libMesh
Functions
domain.h File Reference

Go to the source code of this file.

Functions

void build_domain (libMesh::MeshBase &mesh, FEMParameters &param)
 

Function Documentation

◆ build_domain()

void build_domain ( libMesh::MeshBase mesh,
FEMParameters param 
)

Definition at line 10 of file domain.C.

References libMesh::MeshBase::all_second_order(), FEMParameters::domainfile, mesh, libMesh::out, and libMesh::MeshBase::read().

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 }
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.
MeshBase & mesh
std::string domainfile
Definition: femparameters.h:47
OStreamProxy out
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:1535