20 #ifndef LIBMESH_CHECKPOINT_IO_H 21 #define LIBMESH_CHECKPOINT_IO_H 102 virtual void read (
const std::string & input_name)
override;
117 virtual void write (
const std::string &
name)
override;
199 const std::set<const Elem *, CompareElemIdsByLevel> & elements)
const;
205 const std::set<const Elem *, CompareElemIdsByLevel> & elements)
const;
211 const std::set<const Node *> & nodeset)
const;
217 const std::set<const Elem *, CompareElemIdsByLevel> & elements,
218 const std::vector<std::tuple<dof_id_type, unsigned short int, boundary_id_type>> & bc_triples)
const;
224 const std::set<const Node *> & nodeset,
225 const std::vector<std::tuple<dof_id_type, boundary_id_type>> & bc_tuples)
const;
241 template <
typename file_
id_type>
247 template <
typename file_
id_type>
253 template <
typename file_
id_type>
259 template <
typename file_
id_type>
269 template <
typename file_
id_type>
275 template <
typename file_
id_type>
281 template <
typename file_
id_type>
287 template <
typename file_
id_type>
293 template <
typename file_
id_type>
323 #endif // LIBMESH_CHECKPOINT_IO_H std::string name(const ElemQuality q)
virtual void write(const std::string &name) override
const std::string & version() const
const processor_id_type & current_n_processors() const
void write_remote_elem(Xdr &io, const std::set< const Elem *, CompareElemIdsByLevel > &elements) const
void write_connectivity(Xdr &io, const std::set< const Elem *, CompareElemIdsByLevel > &elements) const
virtual void read(const std::string &input_name) override
uint8_t processor_id_type
void write_bcs(Xdr &io, const std::set< const Elem *, CompareElemIdsByLevel > &elements, const std::vector< std::tuple< dof_id_type, unsigned short int, boundary_id_type >> &bc_triples) const
void read_bc_names(Xdr &io, BoundaryInfo &info, bool is_sideset)
void read_remote_elem(Xdr &io, bool expect_all_remote)
unsigned int n_active_levels_in(MeshBase::const_element_iterator begin, MeshBase::const_element_iterator end) const
processor_id_type select_split_config(const std::string &input_name, header_id_type &data_size)
const std::vector< processor_id_type > & current_processor_ids() const
std::vector< processor_id_type > _my_processor_ids
std::vector< processor_id_type > & current_processor_ids()
void write_subdomain_names(Xdr &io) const
processor_id_type _my_n_processors
CheckpointIO(MeshBase &, const bool=false)
Used by the Mesh to keep track of boundary nodes and elements.
static void cleanup(const std::string &input_name, processor_id_type n_procs)
void write_bc_names(Xdr &io, const BoundaryInfo &info, bool is_sideset) const
An object whose state is distributed along a set of processors.
file_id_type read_header(const std::string &name)
C++ interface for the XDR (eXternal Data Representation) format.
void read_subdomain_names(Xdr &io)
largest_id_type xdr_id_type
void write_nodesets(Xdr &io, const std::set< const Node *> &nodeset, const std::vector< std::tuple< dof_id_type, boundary_id_type >> &bc_tuples) const
std::unique_ptr< CheckpointIO > split_mesh(MeshBase &mesh, processor_id_type nsplits)
void read_subfile(Xdr &io, bool expect_all_remote)
void read_nodesets(Xdr &io)
void write_nodes(Xdr &io, const std::set< const Node *> &nodeset) const
processor_id_type & current_n_processors()
void read_connectivity(Xdr &io)