5 #ifndef PHASEFIELDPROBLEM_HPP 6 #define PHASEFIELDPROBLEM_HPP 22 Epetra_SerialDenseVector
get_neumannBc(Epetra_SerialDenseMatrix & matrix_X, Epetra_SerialDenseMatrix & xg,
unsigned int & gp){
23 std::cout <<
"Not using this method in this application.\n";
24 Epetra_SerialDenseVector f(3);
27 Epetra_SerialDenseVector
get_forcing(
double & x1,
double & x2,
double & x3,
unsigned int & e_lid,
unsigned int & gp){
28 std::cout <<
"Not using this method in this application.\n";
29 Epetra_SerialDenseVector f(3);
41 if(z<=1.0e-6 && z>=-1.0
e-6){
44 if(z<=10+1.0e-6 && z>=10-1.0
e-6){
54 if (z<=1.0e-6 && z>=-1.0
e-6){
60 if (z<=10+1.0e-6 && z>=10-1.0
e-6){
78 if (z<=10+1.0e-6 && z>=10-1.0
e-6){
85 F.Update(-1.0,rhs_dir,1.0);
90 if (z<=1.0e-6 && z>=-1.0
e-6){
95 if (z<=10+1.0e-6 && z>=10-1.0
e-6){
Epetra_SerialDenseVector get_neumannBc(Epetra_SerialDenseMatrix &matrix_X, Epetra_SerialDenseMatrix &xg, unsigned int &gp)
std::vector< int > local_nodes
std::vector< double > nodes_coord
Epetra_SerialDenseVector get_forcing(double &x1, double &x2, double &x3, unsigned int &e_lid, unsigned int &gp)
void initialize(Epetra_Comm &comm, Teuchos::ParameterList &Parameters)
phaseFieldProblem(Epetra_Comm &comm, Teuchos::ParameterList &Parameters)
int n_local_nodes_without_ghosts
void setup_dirichlet_conditions()
void apply_dirichlet_conditions(Epetra_FECrsMatrix &K, Epetra_FEVector &F, double &displacement)