Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Public Attributes | List of all members
AMP::Mesh::Mesh::CompareResult Struct Reference

Structure used to compare matricies. More...

#include <Mesh.h>

Public Member Functions

 CompareResult (int state=0)
 
bool operator== (const CompareResult &) const
 
int result () const
 

Public Attributes

bool block
 block ids match
 
bool domain
 domain matches
 
bool equal
 Meshes are equal (operator==)
 
bool geometry
 geometries match
 
bool nodes
 Nodes match.
 
bool surface
 surface ids match
 

Detailed Description

Structure used to compare matricies.

Definition at line 490 of file Mesh.h.

Constructor & Destructor Documentation

◆ CompareResult()

AMP::Mesh::Mesh::CompareResult::CompareResult ( int  state = 0)

Member Function Documentation

◆ operator==()

bool AMP::Mesh::Mesh::CompareResult::operator== ( const CompareResult ) const

◆ result()

int AMP::Mesh::Mesh::CompareResult::result ( ) const

0 - The meshes are different 1 - The meshes are equal (a == b) 2 - The meshes are equivalent: Nodes match, elements match, block/surface ids match 3 - The meshes are similar: Nodes do not match but map the same domain within tolerance, block/surface ids match

Member Data Documentation

◆ block

bool AMP::Mesh::Mesh::CompareResult::block

block ids match

Definition at line 494 of file Mesh.h.

◆ domain

bool AMP::Mesh::Mesh::CompareResult::domain

domain matches

Definition at line 495 of file Mesh.h.

◆ equal

bool AMP::Mesh::Mesh::CompareResult::equal

Meshes are equal (operator==)

Definition at line 491 of file Mesh.h.

◆ geometry

bool AMP::Mesh::Mesh::CompareResult::geometry

geometries match

Definition at line 496 of file Mesh.h.

◆ nodes

bool AMP::Mesh::Mesh::CompareResult::nodes

Nodes match.

Definition at line 492 of file Mesh.h.

◆ surface

bool AMP::Mesh::Mesh::CompareResult::surface

surface ids match

Definition at line 493 of file Mesh.h.


The documentation for this struct was generated from the following file:



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page