This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from aeslaughter/temporal_scaling_mms-34
Fixed merge conflict
- Loading branch information
Showing
58 changed files
with
2,782 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef MATDIFFUSION_H | ||
#define MATDIFFUSION_H | ||
|
||
#include "Diffusion.h" | ||
#include "Material.h" | ||
#include "PropertyUserObjectInterface.h" | ||
|
||
//Forward Declarations | ||
class PikaScaledMatDiffusion; | ||
|
||
template<> | ||
InputParameters validParams<PikaScaledMatDiffusion>(); | ||
|
||
class PikaScaledMatDiffusion : | ||
public Diffusion, | ||
PropertyUserObjectInterface | ||
{ | ||
public: | ||
PikaScaledMatDiffusion(const std::string & name, InputParameters parameters); | ||
|
||
protected: | ||
virtual Real computeQpResidual(); | ||
virtual Real computeQpJacobian(); | ||
|
||
private: | ||
std::string _D_name; | ||
|
||
MaterialProperty<Real> & _D; | ||
|
||
const Real & _xi; | ||
}; | ||
|
||
#endif //MATDIFFUSION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef PIKASCALEDTIMEDERIVATIVE_H | ||
#define PIKASCALEDTIMEDERIVATIVE_H | ||
//Pika Includes | ||
#include "PikaTimeDerivative.h" | ||
#include "PropertyUserObjectInterface.h" | ||
|
||
//Forward Declarations | ||
class PikaScaledTimeDerivative; | ||
|
||
template<> | ||
InputParameters validParams<PikaScaledTimeDerivative>(); | ||
|
||
class PikaScaledTimeDerivative : | ||
public PikaTimeDerivative, | ||
public PropertyUserObjectInterface | ||
|
||
{ | ||
public: | ||
|
||
PikaScaledTimeDerivative(const std::string & name, InputParameters parameters); | ||
|
||
protected: | ||
virtual Real computeQpResidual(); | ||
virtual Real computeQpJacobian(); | ||
|
||
}; | ||
#endif //PIKASCALEDTIMEDERIVATIVE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#ifndef SCALEDPHASETRANSITION_H | ||
#define SCALEPHASETRANSITION_H | ||
|
||
// modules/phase_field includes | ||
#include "ACBulk.h" | ||
|
||
#include "PropertyUserObjectInterface.h" | ||
//Forward Declarations | ||
class ScaledPhaseTransition; | ||
|
||
template<> | ||
InputParameters validParams<ScaledPhaseTransition>(); | ||
|
||
class ScaledPhaseTransition : | ||
public ACBulk, | ||
public PropertyUserObjectInterface | ||
{ | ||
public: | ||
|
||
ScaledPhaseTransition(const std::string & name, InputParameters parameters); | ||
|
||
protected: | ||
virtual Real computeDFDOP(PFFunctionType type); | ||
|
||
private: | ||
VariableValue & _s; | ||
|
||
MaterialProperty<Real> & _lambda; | ||
|
||
MaterialProperty<Real> & _s_eq; | ||
|
||
const Real & _xi; | ||
|
||
}; | ||
#endif // SCALEDPHASETRANSITION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/****************************************************************/ | ||
/* DO NOT MODIFY THIS HEADER */ | ||
/* MOOSE - Multiphysics Object Oriented Simulation Environment */ | ||
/* */ | ||
/* (c) 2010 Battelle Energy Alliance, LLC */ | ||
/* ALL RIGHTS RESERVED */ | ||
/* */ | ||
/* Prepared by Battelle Energy Alliance, LLC */ | ||
/* Under Contract No. DE-AC07-05ID14517 */ | ||
/* With the U. S. Department of Energy */ | ||
/* */ | ||
/* See COPYRIGHT for full restrictions */ | ||
/****************************************************************/ | ||
|
||
#ifndef PIKADEBUG_H | ||
#define PIKADEBUG_H | ||
|
||
// MOOSE includes | ||
#include "PetscOutput.h" | ||
#include "FormattedTable.h" | ||
#include "PropertyUserObjectInterface.h" | ||
#include "PhaseFieldProperties.h" | ||
class PikaDebug; | ||
|
||
template<> | ||
InputParameters validParams<PikaDebug>(); | ||
|
||
/** | ||
* Base class for scalar variables and postprocessors output objects | ||
* | ||
* This class populates three FormattedTable objects that may then be used | ||
* by child classes for creating custom output objects: | ||
* _all_data_table - includes the data from both postprocessors and scalar aux variables | ||
* _postprocessor_table - includes the data from only the postprocessors | ||
* _scalar_table - includes the data from only the scalar aux variables | ||
* | ||
* @see CSV Console | ||
*/ | ||
class PikaDebug : | ||
public | ||
PetscOutput, | ||
PropertyUserObjectInterface, | ||
MaterialPropertyInterface | ||
{ | ||
public: | ||
|
||
/** | ||
* Class constructor. | ||
*/ | ||
PikaDebug(const std::string & name, InputParameters); | ||
|
||
/** | ||
* Destructor | ||
*/ | ||
virtual ~PikaDebug(); | ||
|
||
protected: | ||
|
||
//@{ | ||
/** | ||
* Produces an error, it is not possible to output nodal and elemental data to a table | ||
* | ||
* The call to this function is disable by suppressing the input parameter: output_nodal_variables | ||
*/ | ||
virtual void outputNodalVariables(); | ||
virtual void outputElementalVariables(); | ||
virtual void outputScalarVariables(); | ||
virtual void outputPostprocessors(); | ||
virtual void outputVectorPostprocessors(); | ||
virtual std::string filename(); | ||
//@} | ||
virtual void output(); | ||
const Real & _d_o; | ||
const Real & _beta; | ||
}; | ||
|
||
#endif /* TABLEOUTPUT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.