Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
Core.cpp File Reference
#include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
#include "moab/Core.hpp"
#include "MeshSetSequence.hpp"
#include "ElementSequence.hpp"
#include "VertexSequence.hpp"
#include <cassert>
#include "AEntityFactory.hpp"
#include "ReadUtil.hpp"
#include "WriteUtil.hpp"
#include "moab/CN.hpp"
#include "moab/HigherOrderFactory.hpp"
#include "SequenceManager.hpp"
#include "moab/Error.hpp"
#include "moab/ReaderWriterSet.hpp"
#include "moab/ReaderIface.hpp"
#include "moab/WriterIface.hpp"
#include "moab/ScdInterface.hpp"
#include "moab/SetIterator.hpp"
#include "BitTag.hpp"
#include "DenseTag.hpp"
#include "MeshTag.hpp"
#include "SparseTag.hpp"
#include "VarLenDenseTag.hpp"
#include "VarLenSparseTag.hpp"
#include <sys/stat.h>
#include <cerrno>
#include <cstring>
#include "WriteVtk.hpp"
#include "MBTagConventions.hpp"
#include "ExoIIUtil.hpp"
#include "EntitySequence.hpp"
#include "moab/FileOptions.hpp"
+ Include dependency graph for Core.cpp:

Go to the source code of this file.

Namespaces

 moab
 Class representing axis-aligned bounding box.
 

Macros

#define MOAB_MPE_LOG   "moab.mpe"
 
#define DefaultWriterName   "WriteVtk"
 
#define ALLOW_NULL_FOR_MESH_TAG
 
#define CHECK_MESH_NULL
 

Typedefs

typedef moab::WriteVtk DefaultWriter
 

Functions

static void warn_null_array_mesh_tag ()
 
static const MeshSet * moab::get_mesh_set (const SequenceManager *sm, EntityHandle h)
 
static MeshSet * moab::get_mesh_set (SequenceManager *sm, EntityHandle h)
 
template<typename ITER >
static ErrorCode moab::get_adjacencies_union (Core *gMB, ITER begin, ITER end, int to_dimension, bool create_if_missing, Range &adj_entities)
 
template<typename ITER >
static ErrorCode moab::get_adjacencies_intersection (Core *mb, ITER begin, ITER end, const int to_dimension, const bool create_if_missing, std::vector< EntityHandle > &adj_entities)
 
template<typename ITER >
static ErrorCode moab::get_adjacencies_intersection (Core *mb, ITER begin, ITER end, const int to_dimension, const bool create_if_missing, Range &adj_entities)
 
static bool moab::is_zero_bytes (const void *mem, size_t size)
 

Macro Definition Documentation

◆ ALLOW_NULL_FOR_MESH_TAG

#define ALLOW_NULL_FOR_MESH_TAG

Definition at line 114 of file Core.cpp.

◆ CHECK_MESH_NULL

#define CHECK_MESH_NULL
Value:
EntityHandle root = 0; \
if( NULL == entity_handles && 0 == num_entities ) \
{ \
entity_handles = &root; \
num_entities = 1; \
warn_null_array_mesh_tag(); \
}

Definition at line 131 of file Core.cpp.

◆ DefaultWriterName

#define DefaultWriterName   "WriteVtk"

Definition at line 88 of file Core.cpp.

◆ MOAB_MPE_LOG

#define MOAB_MPE_LOG   "moab.mpe"

MOAB, a Mesh-Oriented datABase, is a software component for creating, storing and accessing finite element mesh data.

Copyright 2004 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

Definition at line 22 of file Core.cpp.

Typedef Documentation

◆ DefaultWriter

Definition at line 87 of file Core.cpp.

Function Documentation

◆ warn_null_array_mesh_tag()

static void warn_null_array_mesh_tag ( )
static

Definition at line 125 of file Core.cpp.

126 {
127  std::cerr << "WARNING: Accepting empty array to indicate mesh tag" << std::endl;
128 }