예제 #1
0
파일: momentum.py 프로젝트: pf4d/cslvr
	def initialize(self, model, solve_params=None,
		             linear=False, use_lat_bcs=False,
		             use_pressure_bc=True, **kwargs):
		"""
		Here we set up the problem, and do all of the differentiation and
		memory allocation type stuff.  Note that any Momentum object *must*
		call this method.  See the existing child Momentum objects for reference.
		"""
		raiseNotDefined()
예제 #2
0
 def initialize(self,
                model,
                solve_params=None,
                linear=False,
                use_lat_bcs=False,
                use_pressure_bc=True):
     """ 
 Here we set up the problem, and do all of the differentiation and
 memory allocation type stuff.  Note that any Momentum object *must*
 call this method.  See the existing child Momentum objects for reference.
 """
     raiseNotDefined()
예제 #3
0
파일: momentum.py 프로젝트: pf4d/cslvr
	def get_velocity(self):
		"""
		Return the velocity :math:`\underline{u}`.
		"""
		raiseNotDefined()
예제 #4
0
파일: physics.py 프로젝트: pf4d/cslvr
	def update_model_var(self, u, annotate=False):
		"""
		Update the appropriate unknown variable in ``self.model`` to ``u``.
		"""
		raiseNotDefined()
예제 #5
0
파일: physics.py 프로젝트: pf4d/cslvr
	def get_Lam(self):
		"""
		Return the adjoint function for ``self.U``.
		"""
		raiseNotDefined()
예제 #6
0
 def solve(self, annotate=False, params=None):
     """ 
 Perform the Newton solve of the momentum equations 
 """
     raiseNotDefined()
예제 #7
0
 def get_Lam(self):
     """
 Return the adjoint function for U.
 """
     raiseNotDefined()
예제 #8
0
 def get_Phi(self):
     """
 Return the test function for U.
 """
     raiseNotDefined()
예제 #9
0
 def get_dU(self):
     """
 Return the trial function for U.
 """
     raiseNotDefined()
예제 #10
0
 def get_U(self):
     """
 Return the velocity Function.
 """
     raiseNotDefined()
예제 #11
0
 def get_residual(self):
     """
 Returns the momentum residual.
 """
     raiseNotDefined()