MFEM v2.0
Classes | Functions
mesh.cpp File Reference
#include <iostream>
#include <fstream>
#include <limits>
#include <math.h>
#include <string.h>
#include <time.h>
#include "mesh_headers.hpp"
#include "../fem/fem.hpp"
#include "../general/sort_pairs.hpp"
Include dependency graph for mesh.cpp:

Go to the source code of this file.

Classes

struct  edge_length

Functions

void skip_comment_lines (istream &is, const char comment_char)
void XYZ_VectorFunction (const Vector &p, Vector &v)
void FindPartitioningComponents (Table &elem_elem, const Array< int > &partitioning, Array< int > &component, Array< int > &num_comp)
void DetOfLinComb (const DenseMatrix &A, const DenseMatrix &B, Vector &c)
int FindRoots (const Vector &z, Vector &x)
void FindTMax (Vector &c, Vector &x, double &tmax, const double factor, const int Dim)

Function Documentation

void DetOfLinComb ( const DenseMatrix A,
const DenseMatrix B,
Vector c 
)

Definition at line 3738 of file mesh.cpp.

References DenseMatrix::Data(), mfem_error(), Vector::SetSize(), and Operator::Size().

Referenced by Mesh::CheckDisplacements().

void FindPartitioningComponents ( Table elem_elem,
const Array< int > &  partitioning,
Array< int > &  component,
Array< int > &  num_comp 
)
int FindRoots ( const Vector z,
Vector x 
)

Definition at line 3820 of file mesh.cpp.

References mfem_error(), and Vector::Size().

Referenced by FindTMax().

void FindTMax ( Vector c,
Vector x,
double &  tmax,
const double  factor,
const int  Dim 
)

Definition at line 3949 of file mesh.cpp.

References FindRoots().

Referenced by Mesh::CheckDisplacements().

void skip_comment_lines ( istream &  is,
const char  comment_char 
)

Definition at line 1109 of file mesh.cpp.

Referenced by Mesh::Load(), Mesh::LoadPatchTopo(), and NURBSExtension::NURBSExtension().

void XYZ_VectorFunction ( const Vector p,
Vector v 
)

Definition at line 2360 of file mesh.cpp.

Referenced by Mesh::SetNodalFESpace(), and Mesh::SetNodalGridFunction().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines