proteus
1.8.1
C/C++/Fortran libraries
|
#include "MeshAdaptPUMI.h"
#include <PCU.h>
#include <petscksp.h>
#include <apf.h>
#include <apfMesh.h>
#include <apfShape.h>
#include <apfDynamicMatrix.h>
#include <apfNumbering.h>
#include <iostream>
#include <fstream>
Go to the source code of this file.
int | approx_order |
int | int_order |
double | nu_0 |
double | nu_1 |
double | rho_0 |
double | rho_1 |
double | a_kl = 0.5 |
void | getProps (double *rho, double *nu) |
apf::Vector3 | getFaceNormal (apf::Mesh *mesh, apf::MeshEntity *face) |
double | getDotProduct (apf::Vector3 a, apf::Vector3 b) |
double | getDotProduct (apf::Matrix3x3 a, apf::Matrix3x3 b) |
bool | isInTet (apf::Mesh *mesh, apf::MeshEntity *ent, apf::Vector3 pt) |
bool | isInSimplex (apf::Mesh *mesh, apf::MeshEntity *ent, apf::Vector3 pt, int dim) |
void | getLHS (Mat &K, apf::NewArray< apf::DynamicVector > &shdrv, int nsd, double weight, double visc_val, int nshl) |
void | getRHS (Vec &F, apf::NewArray< double > &shpval, apf::NewArray< apf::DynamicVector > &shdrv, apf::Vector3 vel_vect, apf::Matrix3x3 grad_vel, int nsd, double weight, int nshl, double visc_val, double density, apf::Vector3 grad_density, double pressure, double g[3]) |
void | setErrorField (apf::Field *estimate, Vec coef, apf::MeshEntity *ent, int nsd, int nshl) |
double getDotProduct | ( | apf::Matrix3x3 | a, |
apf::Matrix3x3 | b | ||
) |
Definition at line 79 of file ErrorResidualMethod.cpp.
double getDotProduct | ( | apf::Vector3 | a, |
apf::Vector3 | b | ||
) |
Definition at line 73 of file ErrorResidualMethod.cpp.
apf::Vector3 getFaceNormal | ( | apf::Mesh * | mesh, |
apf::MeshEntity * | face | ||
) |
Definition at line 50 of file ErrorResidualMethod.cpp.
void getLHS | ( | Mat & | K, |
apf::NewArray< apf::DynamicVector > & | shdrv, | ||
int | nsd, | ||
double | weight, | ||
double | visc_val, | ||
int | nshl | ||
) |
Definition at line 197 of file ErrorResidualMethod.cpp.
|
inline |
Definition at line 25 of file ErrorResidualMethod.cpp.
void getRHS | ( | Vec & | F, |
apf::NewArray< double > & | shpval, | ||
apf::NewArray< apf::DynamicVector > & | shdrv, | ||
apf::Vector3 | vel_vect, | ||
apf::Matrix3x3 | grad_vel, | ||
int | nsd, | ||
double | weight, | ||
int | nshl, | ||
double | visc_val, | ||
double | density, | ||
apf::Vector3 | grad_density, | ||
double | pressure, | ||
double | g[3] | ||
) |
density;
Definition at line 244 of file ErrorResidualMethod.cpp.
bool isInSimplex | ( | apf::Mesh * | mesh, |
apf::MeshEntity * | ent, | ||
apf::Vector3 | pt, | ||
int | dim | ||
) |
Definition at line 127 of file ErrorResidualMethod.cpp.
bool isInTet | ( | apf::Mesh * | mesh, |
apf::MeshEntity * | ent, | ||
apf::Vector3 | pt | ||
) |
Definition at line 92 of file ErrorResidualMethod.cpp.
void setErrorField | ( | apf::Field * | estimate, |
Vec | coef, | ||
apf::MeshEntity * | ent, | ||
int | nsd, | ||
int | nshl | ||
) |
Definition at line 601 of file ErrorResidualMethod.cpp.
double a_kl = 0.5 |
Definition at line 23 of file ErrorResidualMethod.cpp.
int approx_order |
Definition at line 20 of file ErrorResidualMethod.cpp.
int int_order |
Definition at line 21 of file ErrorResidualMethod.cpp.
double nu_0 |
Definition at line 22 of file ErrorResidualMethod.cpp.
double nu_1 |
Definition at line 22 of file ErrorResidualMethod.cpp.
double rho_0 |
Definition at line 22 of file ErrorResidualMethod.cpp.
double rho_1 |
Definition at line 22 of file ErrorResidualMethod.cpp.